Excerpts from Tom Lane's message of mar ago 10 19:49:18 -0400 2010:
> Offhand the only clean way I can see to launch a child process is to
> fork *and exec something*.
You probably should close any open file descriptors too, just to be
safe. (Or do we set FD_CLOEXEC on them?)
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support