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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-general by date

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