From 5f7b25d5d594c4cd8a766b8137a7673769ce1fa7 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 23 Sep 2008 20:35:38 +0000 Subject: [PATCH] Add comment about the use of EXEC_BACKEND. --- src/backend/postmaster/postmaster.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 51f766275b..4de8167346 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