projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ae73e
)
Add comment about the use of EXEC_BACKEND.
author
Bruce Momjian
<bruce@momjian.us>
Tue, 23 Sep 2008 20:35:38 +0000
(20:35 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Tue, 23 Sep 2008 20:35:38 +0000
(20:35 +0000)
src/backend/postmaster/postmaster.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/postmaster.c
b/src/backend/postmaster/postmaster.c
index 8a67ec550b85b2d63fe57e502f12b8cacea925d4..aaaab64a867425a15cbba7efe3445a22f8be83bc 100644
(file)
--- a/
src/backend/postmaster/postmaster.c
+++ b/
src/backend/postmaster/postmaster.c
@@
-3286,6
+3286,10
@@
postmaster_forkexec(int argc, char *argv[])
/*
* backend_forkexec -- fork/exec off a backend process
*
+ * Some operating systems (WIN32) don't have fork() so we have to simulate
+ * it by storing parameters that need to be passed to the child and
+ * then create a new child process.
+ *
* returns the pid of the fork/exec'd process, or -1 on failure
*/
static pid_t