aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2008-09-23 20:35:38 +0000
committerBruce Momjian <bruce@momjian.us>2008-09-23 20:35:38 +0000
commit5f7b25d5d594c4cd8a766b8137a7673769ce1fa7 (patch)
tree9acee41d0425d84685e246e2344ec6e321ff11ee /src
parent5a8cb50e4f3ad0ec70af2068b902b8fab29016e5 (diff)
downloadpostgresql-5f7b25d5d594c4cd8a766b8137a7673769ce1fa7.tar.gz
postgresql-5f7b25d5d594c4cd8a766b8137a7673769ce1fa7.zip
Add comment about the use of EXEC_BACKEND.
Diffstat (limited to 'src')
-rw-r--r--src/backend/postmaster/postmaster.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 51f766275bb..4de81673460 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.564 2008/09/23 09:20:36 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.565 2008/09/23 20:35:38 momjian Exp $
*
* NOTES
*
@@ -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