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

From David Fetter
Subject Re: feature request: auto savepoint for interactive psql when in transaction.
Date
Msg-id 20110928184751.GA30737@fetter.org
Whole thread Raw
In response to Re: feature request: auto savepoint for interactive psql when in transaction.  (Gurjeet Singh <singh.gurjeet@gmail.com>)
Responses Re: feature request: auto savepoint for interactive psql when in transaction.
List pgsql-hackers
On Wed, Sep 28, 2011 at 02:25:44PM -0400, Gurjeet Singh wrote:
> On Wed, Sep 28, 2011 at 1:51 PM, Kevin Grittner <Kevin.Grittner@wicourts.gov
> > wrote:
> 
> > Alvaro Herrera <alvherre@commandprompt.com> wrote:
> >
> > > See ON_ERROR_ROLLBACK
> > > http://www.postgresql.org/docs/9.0/static/app-psql.html
> >
> > I had missed that.  Dang, this database product is rich with nice
> > features!  :-)
> >
> 
> +1
> 
> I would like it to be on/interactive by default, though.

You can have it by putting it in your .psqlrc.

If we were just starting out, I'd be all for changing the defaults,
but we're not.  We'd break things unnecessarily if we changed this
default.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


pgsql-hackers by date:

Previous
From: Gurjeet Singh
Date:
Subject: Re: feature request: auto savepoint for interactive psql when in transaction.
Next
From: Stephen Frost
Date:
Subject: Re: feature request: auto savepoint for interactive psql when in transaction.