On Sun, Aug 8, 2010 at 5:08 PM, Glen Eustace <geust...@godzone.net.nz> wrote:
> Thanks Tom, that is pretty much the conclusion I came to.  I think I need to
> close the db connection prior to the fork and then re-open in the new child.
>

Yes, you pretty much have to do this.  I usually do the close
immediately after fork in the child, but set the DBI attribute
InactiveDestroy on the handle so it doesn't destroy the parent's
handle.

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

Reply via email to