From fb1f7ccec58d49f7b011fa16cf7dcfa15f9d3bd8 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 2 May 2003 21:52:42 +0000 Subject: Dump/read non-default GUC values for use by exec'ed backends, for Win32. --- src/backend/tcop/postgres.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/backend/tcop/postgres.c') diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 6c2e456ccc1..2bd147cc57a 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.327 2003/05/02 20:54:35 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.328 2003/05/02 21:52:42 momjian Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -1453,6 +1453,7 @@ PostgresMain(int argc, char *argv[], const char *username) break; } + /* * -d is not the same as setting * log_min_messages because it enables other @@ -1577,6 +1578,9 @@ PostgresMain(int argc, char *argv[], const char *username) * restart... */ } BaseInit(); +#ifdef EXECBACKEND + AttachSharedMemoryAndSemaphores(); +#endif } else { @@ -1672,7 +1676,7 @@ PostgresMain(int argc, char *argv[], const char *username) if (!IsUnderPostmaster) { puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.327 $ $Date: 2003/05/02 20:54:35 $\n"); + puts("$Revision: 1.328 $ $Date: 2003/05/02 21:52:42 $\n"); } /* -- cgit v1.2.3