Status of interactive psql's error handling?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: PostgreSQL General Discussion <pgsql-general(at)postgresql(dot)org>
Subject: Status of interactive psql's error handling?
Date: 2005-06-01 18:39:57
Message-ID: 87k6ldudj6.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


What's the current status on psql handling typos and interrupts more usefully
by automatically encapsulating every statement in a savepoint? I'm just
curious whether it's already in for 8.1 or if it got stalled.

I ask because I just got bit again by a typo where I accidently deleted the
wrong data and would dearly love to be able to start using autocommit=off so I
can double check my ad-hoc database work before committing. I adopted this
when I was working with Oracle and it saved my life more times than I can
remember. But it's really not feasible if every typo requires starting from
scratch.

--
greg

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Yudie Pg 2005-06-01 21:16:43 hpw to Count without group by
Previous Message Tom Lane 2005-06-01 17:39:08 Re: Old problem needs solution