File tree 1 file changed +5
-3
lines changed 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 37
37
*
38
38
*
39
39
* IDENTIFICATION
40
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.243 2001/09/21 20:31:48 tgl Exp $
40
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.244 2001/09/30 20:08:18 tgl Exp $
41
41
*
42
42
* NOTES
43
43
*
@@ -312,8 +312,6 @@ PostmasterMain(int argc, char *argv[])
312
312
char original_extraoptions [MAXPGPATH ];
313
313
char * potential_DataDir = NULL ;
314
314
315
- IsUnderPostmaster = true; /* so that backends know this */
316
-
317
315
* original_extraoptions = '\0' ;
318
316
319
317
progname = argv [0 ];
@@ -1935,6 +1933,8 @@ DoBackend(Port *port)
1935
1933
* Let's clean up ourselves as the postmaster child
1936
1934
*/
1937
1935
1936
+ IsUnderPostmaster = true; /* we are a postmaster subprocess now */
1937
+
1938
1938
/* We don't want the postmaster's proc_exit() handlers */
1939
1939
on_exit_reset ();
1940
1940
@@ -2317,6 +2317,8 @@ SSDataBase(int xlop)
2317
2317
beos_backend_startup ();
2318
2318
#endif
2319
2319
2320
+ IsUnderPostmaster = true; /* we are a postmaster subprocess now */
2321
+
2320
2322
/* Lose the postmaster's on-exit routines and port connections */
2321
2323
on_exit_reset ();
2322
2324
You can’t perform that action at this time.
0 commit comments