Re: feature request: auto savepoint for interactive psql when in transaction. - Mailing list pgsql-hackers

From Will Leinweber
Subject Re: feature request: auto savepoint for interactive psql when in transaction.
Date
Msg-id CAL8LqZR5DsMOjsp8pAHObd4zAf9_TP1Z29063NbEO=dJW2y_OA@mail.gmail.com
Whole thread Raw
In response to Re: feature request: auto savepoint for interactive psql when in transaction.  (Marko Tiikkaja <marko.tiikkaja@2ndquadrant.com>)
List pgsql-hackers
On Wed, Sep 28, 2011 at 10:39 AM, Marko Tiikkaja
<marko.tiikkaja@2ndquadrant.com> wrote:
>  Simply add this to your .psqlrc:
>
> \set ON_ERROR_ROLLBACK on


Thank you Marko and Alvaro for pointing me in the right direction. I
set it to 'interactive', which I think makes the most sense.

I do wish this behavior was a little more discoverable, even though it
is in the manual.

—Will


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: fix for pg_upgrade
Next
From: Joachim Wieland
Date:
Subject: Re: synchronized snapshots