Re: PL/perl elog(ERROR) Does not Abort Transaction

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: PL/perl elog(ERROR) Does not Abort Transaction
Date: 2012-05-11 17:12:02
Message-ID: 366A10C7-E16A-4395-9E54-88C67D9B434D@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On May 11, 2012, at 9:51 AM, David E. Wheeler wrote:

> \set ON_ERROR_ROLLBACK interactive
>
> So I guess it transparently rolls back a savepoint for the previous statement. I had forgotten I turned that on. Apologies for the noise.

OTOH, might it be useful to have psql show some sort of status message when it does this?

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2012-05-11 17:16:12 Re: Gsoc2012 idea, tablesample
Previous Message Fujii Masao 2012-05-11 17:09:52 Re: WalSndWakeup() and synchronous_commit=off