Re: Feature discussion: Should syntax errors abort a transaction? - Mailing list pgsql-general

From Jasen Betts
Subject Re: Feature discussion: Should syntax errors abort a transaction?
Date
Msg-id js4c70$se5$1@reversiblemaps.ath.cx
Whole thread Raw
In response to Feature discussion: Should syntax errors abort a transaction?  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: Feature discussion: Should syntax errors abort a transaction?  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
List pgsql-general
On 2012-06-19, Rafal Pietrak <rafal@zorro.isa-geek.com> wrote:

> And we are talking about interractive psql breaking transaction because
> of syntax error - almost always this is a one time typo. I'd prefere it
> to be a bit more "sloopy", then deployed SQL application (e.g.
> non-interactive session).

possibly you could program keyboard macros to handle savepoints to
have an easy way to recover from these errors, but if you're working on a
busy database keeping a transaction open whislt you think about syntax
is going to cost perfromance for the other users.


--
⚂⚃ 100% natural

pgsql-general by date:

Previous
From: Jasen Betts
Date:
Subject: Re: Extensions and roles for access administration
Next
From: Jasen Betts
Date:
Subject: Re: error handling