diff options
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 8b014c887f5..03a3eca6abd 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.517 2006/11/21 00:49:55 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.518 2006/11/21 20:59:52 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2990,6 +2990,11 @@ PostgresMain(int argc, char *argv[], const char *username) pg_usleep(PostAuthDelay * 1000000L); /* + * You might expect to see a setsid() call here, but it's not needed, + * because if we are under a postmaster then BackendInitialize() did it. + */ + + /* * Set up signal handlers and masks. * * Note that postmaster blocked all signals before forking child process, |