On Fri, Mar 7, 2014 at 12:17 PM, Andres Freund <and...@2ndquadrant.com> wrote:
> Forking twice is ok as well, as long as you just use _exit() after the
> fork. The thing is that you shouldn't run any nontrivial code in the
> fork, as long as you're connected to the original environment (fd's,
> memory mappings and so forth).

Just to be clear, what do you mean by "nontrivial code"?  Do you mean
C library calls, other than fork/exec/_exit?

Pete


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to