Re: Connection gets into state where all queries fail - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Connection gets into state where all queries fail
Date
Msg-id 20040623014933.GB30207@svana.org
Whole thread Raw
In response to Re: Connection gets into state where all queries fail  (Scott Ribe <scott_ribe@killerbytes.com>)
Responses Re: Connection gets into state where all queries fail  (Scott Ribe <scott_ribe@killerbytes.com>)
Re: Connection gets into state where all queries fail  (Marco Colombo <marco@esi.it>)
List pgsql-general
On Tue, Jun 22, 2004 at 07:02:28PM -0600, Scott Ribe wrote:
> I suppose psql sends either a commit or rollback after the query generates
> the error, maybe after every query, so my attempt to use it to check this
> wasn't a valid test.

Nope, psql breaks the statements on ';' and sends each query
individually, so the issue never comes up.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: "Andrew Bartley"
Date:
Subject: Re: Deleting all but one row of a list of non-uniques
Next
From: Scott Ribe
Date:
Subject: Re: Connection gets into state where all queries fail