Re: psql: rollback only last query on error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Michael Paesold" <mpaesold(at)gmx(dot)at>
Cc: "Alvaro Herrera" <alvherre(at)dcc(dot)uchile(dot)cl>, pgsql-patches(at)postgresql(dot)org
Subject: Re: psql: rollback only last query on error
Date: 2004-09-23 20:16:07
Message-ID: 7071.1095970567@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Michael Paesold" <mpaesold(at)gmx(dot)at> writes:
> Alvaro Herrera wrote:
>> One potential problem I see with the patch is that it opens lots of
>> savepoints but does not release any.

> Well, given that EXCEPTION blocks in Pl/pgSQL and the like also never
> release savepoints

That statement is flat wrong.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-09-23 20:37:52 Re: doc patch for ssl in server
Previous Message Michael Paesold 2004-09-23 20:04:29 Re: psql: rollback only last query on error