1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Cleanup patch for exec() handling.

This commit is contained in:
Bruce Momjian
2003-05-03 05:13:20 +00:00
parent a7fd03e1de
commit 721996d889
3 changed files with 14 additions and 12 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.330 2003/05/03 03:52:07 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.331 2003/05/03 05:13:20 momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@ -1139,9 +1139,12 @@ PostgresMain(int argc, char *argv[], const char *username)
Noversion = false;
EchoQuery = false;
if (!IsUnderPostmaster)
if (!IsUnderPostmaster || ExecBackend)
{
InitializeGUCOptions();
#ifdef EXEC_BACKEND
read_nondefault_variables();
#endif
potential_DataDir = getenv("PGDATA");
}
@ -1676,7 +1679,7 @@ PostgresMain(int argc, char *argv[], const char *username)
if (!IsUnderPostmaster)
{
puts("\nPOSTGRES backend interactive interface ");
puts("$Revision: 1.330 $ $Date: 2003/05/03 03:52:07 $\n");
puts("$Revision: 1.331 $ $Date: 2003/05/03 05:13:20 $\n");
}
/*