diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2013-01-02 18:39:20 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2013-01-02 18:39:20 -0300 |
commit | 84f6fb81b8cb69c8da479d74e5b8078f6a1395c3 (patch) | |
tree | e50b312e9788acca8c90865466db62c64940a022 /src/backend/utils/init/postinit.c | |
parent | 15658911d9947cda031a42bcbc3e2b745dff8f49 (diff) | |
download | postgresql-84f6fb81b8cb69c8da479d74e5b8078f6a1395c3.tar.gz postgresql-84f6fb81b8cb69c8da479d74e5b8078f6a1395c3.zip |
Fix IsUnderPostmaster/EXEC_BACKEND confusion
Diffstat (limited to 'src/backend/utils/init/postinit.c')
-rw-r--r-- | src/backend/utils/init/postinit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index ddd79d0aa2d..7e21ceae880 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -427,6 +427,11 @@ pg_split_opts(char **argv, int *argcp, char *optstr) * This must be called after modules have had the chance to register background * workers in shared_preload_libraries, and before shared memory size is * determined. + * + * Note that in EXEC_BACKEND environment, the value is passed down from + * postmaster to subprocesses via BackendParameters in SubPostmasterMain; only + * postmaster itself and processes not under postmaster control should call + * this. */ void InitializeMaxBackends(void) |