From a7fd03e1de38aa515bf13f590eb7688bb8418195 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 3 May 2003 03:52:07 +0000 Subject: Handle clog structure in shared memory in exec() case, 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 e201bc77e59..76d958b4999 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.329 2003/05/02 21:59:31 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.330 2003/05/03 03:52:07 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.329 $ $Date: 2003/05/02 21:59:31 $\n"); + puts("$Revision: 1.330 $ $Date: 2003/05/03 03:52:07 $\n"); } /* -- cgit v1.2.3