postgresql/src/backend/replication/logical
Heikki Linnakangas aafc05de1b Refactor postmaster child process launching
Introduce new postmaster_child_launch() function that deals with the
differences in EXEC_BACKEND mode.

Refactor the mechanism of passing information from the parent to child
process. Instead of using different command-line arguments when
launching the child process in EXEC_BACKEND mode, pass a
variable-length blob of startup data along with all the global
variables. The contents of that blob depend on the kind of child
process being launched. In !EXEC_BACKEND mode, we use the same blob,
but it's simply inherited from the parent to child process.

Reviewed-by: Tristan Partin, Andres Freund
Discussion: https://www.postgresql.org/message-id/7a59b073-5b5b-151e-7ed3-8b01ff7ce9ef@iki.fi
2024-03-18 11:35:30 +02:00
..
Makefile Add a slot synchronization function. 2024-02-14 09:45:36 +05:30
applyparallelworker.c Replace BackendIds with 0-based ProcNumbers 2024-03-03 19:38:22 +02:00
decode.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
launcher.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
logical.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
logicalfuncs.c Introduce a new GUC 'standby_slot_names'. 2024-03-08 08:10:45 +05:30
meson.build Add a slot synchronization function. 2024-02-14 09:45:36 +05:30
message.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
origin.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
proto.c Remove unused 'countincludesself' argument to pq_sendcountedtext() 2024-03-04 12:56:05 +02:00
relation.c Admit deferrable PKs into rd_pkindex, but flag them as such 2024-03-08 16:32:29 +01:00
reorderbuffer.c Fix typos in reorderbuffer.c. 2024-03-14 12:12:55 +05:30
slotsync.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
snapbuild.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
tablesync.c Make the order of the header file includes consistent 2024-03-13 15:07:00 +01:00
worker.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00