Skip site navigation (1) Skip section navigation (2)

Re: Connection gets into state where all queries fail

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Connection gets into state where all queries fail
Date: 2004-06-23 01:49:33
Message-ID: 20040623014933.GB30207@svana.org (view raw or flat)
Thread:
Lists: 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(at)svana(dot)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.

In response to

Responses

pgsql-general by date

Next:From: Scott RibeDate: 2004-06-23 01:55:10
Subject: Re: Connection gets into state where all queries fail
Previous:From: Andrew BartleyDate: 2004-06-23 01:23:04
Subject: Re: Deleting all but one row of a list of non-uniques

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group