diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-05-03 03:52:07 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-05-03 03:52:07 +0000 |
commit | a7fd03e1de38aa515bf13f590eb7688bb8418195 (patch) | |
tree | eec75ded6e712fef1a85930bd46ab366dd8a5b70 /src/backend/tcop/postgres.c | |
parent | 36fa2974976550ef5a8ec93f25c954fefcc76296 (diff) | |
download | postgresql-a7fd03e1de38aa515bf13f590eb7688bb8418195.tar.gz postgresql-a7fd03e1de38aa515bf13f590eb7688bb8418195.zip |
Handle clog structure in shared memory in exec() case, for Win32.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 8 |
1 files changed, 6 insertions, 2 deletions
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"); } /* |