postgresql/src/backend
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
..
access Separate equalRowTypes() from equalTupleDescs() 2024-03-17 05:58:04 +01:00
archive Add macro for customizing an archiving WARNING message. 2024-03-04 15:41:42 -06:00
backup Add destroyStringInfo function for cleaning up StringInfos 2024-03-16 23:18:28 +01:00
bootstrap Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
catalog Add attstattarget to FormExtraData_pg_attribute 2024-03-17 12:38:27 +01:00
commands Initialize variables to placate compiler. 2024-03-17 20:16:15 -05:00
executor Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
foreign Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
jit Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
lib Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
libpq Fix copying SockAddr struct 2024-03-12 15:31:02 +02:00
main Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
nodes Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
optimizer Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
parser Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
partitioning Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
po Update copyright for 2024 2024-01-03 20:49:05 -05:00
port Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
postmaster Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
regex Update copyright for 2024 2024-01-03 20:49:05 -05:00
replication Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
rewrite Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
snowball Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
statistics Make stxstattarget nullable 2024-03-17 12:26:26 +01:00
storage Allow a no-wait lock acquisition to succeed in more cases. 2024-03-14 08:56:06 -04:00
tcop Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
tsearch Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
utils Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
.gitignore
Makefile Put genbki.pl output into src/include/catalog/ directly 2024-03-14 07:11:21 +01:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
meson.build Remove AIX support 2024-02-28 15:17:23 +04:00
nls.mk Remove distprep 2023-11-06 15:18:04 +01:00