On Tue, 2009-01-06 at 09:44 -0500, Tom Lane wrote:
> Simon Riggs <simon@2ndQuadrant.com> writes:
> > It looks to me that generating a single error message while idle causes
> > the server to provide ErrorResponse, which the client assumes is the end
> > of the processing of that statement as defined in FE/BE protocol.
>
> Yeah. I think this is actually a client-side issue: it should keep
> reading till it gets a 'Z' message. Not clear how that fits into the
> libpq-to-app API though.
That makes sense. I'll dig around there.
The infinite loop error seems server-side though.
-- Simon Riggs www.2ndQuadrant.comPostgreSQL Training, Services and Support