From 488f2785d025a6cc04685cfee4ca3eac0086e2fd Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 6 Jan 2004 23:15:22 +0000 Subject: Final rearrangement of main postgresql child process (ie. BackendFork/SSDataBase/pgstat) startup, to allow fork/exec calls to closely mimic (the soon to be provided) Win32 CreateProcess equivalent calls. Claudio Natoli --- src/include/miscadmin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/include/miscadmin.h') diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 86fb2e03f4..e502a154bb 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.141 2004/01/06 17:36:31 neilc Exp $ + * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.142 2004/01/06 23:15:22 momjian Exp $ * * NOTES * some of the information in this file should be moved to @@ -115,6 +115,9 @@ extern bool ClientAuthInProgress; extern const bool ExecBackend; extern int PostmasterMain(int argc, char *argv[]); +#ifdef EXEC_BACKEND +extern void SubPostmasterMain(int argc, char* argv[]); +#endif extern void ClosePostmasterPorts(bool pgstat_too); /* -- cgit v1.2.1