diff options
| author | Heikki Linnakangas | 2024-03-18 09:35:08 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2024-03-18 09:35:30 +0000 |
| commit | aafc05de1bf5c0324cb5e690c6742118c1ac4af6 (patch) | |
| tree | c750628b17b1175e2ec4bb420275d3b6f2bced6b /src/tools | |
| parent | f1baed18bc3db50c72bfb00b6247b47689158445 (diff) | |
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
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/pgindent/typedefs.list | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index 6ca93b1e478..042d04c8de2 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -231,6 +231,7 @@ BY_HANDLE_FILE_INFORMATION Backend BackendId BackendParameters +BackendStartupData BackendState BackendType BackgroundWorker @@ -2136,6 +2137,7 @@ PortalStrategy PostParseColumnRefHook PostgresPollingStatusType PostingItem +PostmasterChildType PreParseColumnRefHook PredClass PredIterInfo @@ -3259,6 +3261,7 @@ check_network_data check_object_relabel_type check_password_hook_type check_ungrouped_columns_context +child_process_kind chr cmpEntriesArg codes_t @@ -4042,6 +4045,7 @@ BlockRefTableReader BlockRefTableSerializedEntry BlockRefTableWriter SummarizerReadLocalXLogPrivate +SysloggerStartupData WalSummarizerData WalSummaryFile WalSummaryIO |
