Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5f7b25d

Browse files
committed
Add comment about the use of EXEC_BACKEND.
1 parent 5a8cb50 commit 5f7b25d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.564 2008/09/23 09:20:36 heikki Exp $
40+
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.565 2008/09/23 20:35:38 momjian Exp $
4141
*
4242
* NOTES
4343
*
@@ -3286,6 +3286,10 @@ postmaster_forkexec(int argc, char *argv[])
32863286
/*
32873287
* backend_forkexec -- fork/exec off a backend process
32883288
*
3289+
* Some operating systems (WIN32) don't have fork() so we have to simulate
3290+
* it by storing parameters that need to be passed to the child and
3291+
* then create a new child process.
3292+
*
32893293
* returns the pid of the fork/exec'd process, or -1 on failure
32903294
*/
32913295
static pid_t

0 commit comments

Comments
 (0)