Re: PGError: server closed the connection unexpectedly

From: Dave Steinberg <dave-pgsql(at)redterror(dot)net>
To: Doug McNaught <doug(at)mcnaught(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PGError: server closed the connection unexpectedly
Date: 2006-01-07 23:59:58
Message-ID: 43C055FE.6060603@redterror.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> You're not using the same PG connection from two different threads, or
> fork()ing and trying to use the same connection in the parent and the
> child, or anything like that?

Aha! In the ruby code, I am forking! I'll make the child reconnect and
see if that helps (I am almost sure this will fix it). This one I
should have guessed - I dealt with similar stuff in perl somewhat recently.

The pg_dumpall problem... I'll crank the debug level and see if there's
anything interesting there, and if so I'll post about it again.

Thanks Doug!
--
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2006-01-08 00:08:20 Re: PGError: server closed the connection unexpectedly
Previous Message Andreas Kretschmer 2006-01-07 23:38:44 Re: COPY to