Alvaro Herrera <alvherre@commandprompt.com> writes:
> You probably should close any open file descriptors too, just to be
> safe. (Or do we set FD_CLOEXEC on them?)
We don't. It'd take an extra syscall per open(), which seems like rather
a lot of overhead to deal with a case we aren't even trying to support.
regards, tom lane