Re: dropdb/contrib-regression - Mailing list pgsql-hackers

From Neil Conway
Subject Re: dropdb/contrib-regression
Date
Msg-id 1102995589.28882.12.camel@localhost.localdomain
Whole thread Raw
In response to Re: dropdb/contrib-regression  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: dropdb/contrib-regression
List pgsql-hackers
On Mon, 2004-12-13 at 19:29 -0500, Tom Lane wrote:
> A more radical solution would be to tweak libpq's PQfinish() to be a
> synchronous close, ie, wait for the backend to exit before returning.
> I think we've speculated about doing that in the past, but never been
> fully convinced that it's worth the downside of usually-unnecessary
> client delay.

I can see this being useful in some situations, but I think the current
behavior is preferable for most clients. Perhaps we could make this a
per-connection option, or supply a variant of PQfinish() ?

-Neil




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: dropdb/contrib-regression
Next
From: Tom Lane
Date:
Subject: Re: dropdb/contrib-regression