From: Bruce Momjian Date: Tue, 23 Sep 2008 20:35:38 +0000 (+0000) Subject: Add comment about the use of EXEC_BACKEND. X-Git-Tag: recoveryinfrav9~618 X-Git-Url: http://git.postgresql.org/gitweb/irc:/static/gitweb.js?a=commitdiff_plain;h=2890651c48ae4c485e59c76ca39b13c767e82e7c;p=users%2Fsimon%2Fpostgres.git Add comment about the use of EXEC_BACKEND. --- diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 8a67ec550b..aaaab64a86 100644 --- 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