diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-12-25 03:52:51 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-12-25 03:52:51 +0000 |
commit | aeddc2a60d7fcfdb06b20162478212fa87732db9 (patch) | |
tree | 07cc9c8f9d9adad5516900a7a9e5a18fd32846b1 /src/backend/tcop/postgres.c | |
parent | 3e32e9476f827f9ac76fa3cdb1b3767d8a69619d (diff) | |
download | postgresql-aeddc2a60d7fcfdb06b20162478212fa87732db9.tar.gz postgresql-aeddc2a60d7fcfdb06b20162478212fa87732db9.zip |
Continued rearrangement to permit pgstat + BootstrapMain processes to be
fork/exec'd, in the same mode as the previous patch for backends.
Claudio Natoli
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 66f6dc063c8..c7252637e94 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.380 2003/12/20 17:31:21 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.381 2003/12/25 03:52:51 momjian Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2063,7 +2063,7 @@ PostgresMain(int argc, char *argv[], const char *username) * * If we are running under the postmaster, this is done already. */ - if (!IsUnderPostmaster /* when exec || ExecBackend */) + if (!IsUnderPostmaster || ExecBackend) MemoryContextInit(); set_ps_display("startup"); @@ -2076,7 +2076,7 @@ PostgresMain(int argc, char *argv[], const char *username) Noversion = false; EchoQuery = false; - if (!IsUnderPostmaster /* when exec || ExecBackend */ ) + if (!IsUnderPostmaster) { InitializeGUCOptions(); potential_DataDir = getenv("PGDATA"); |