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

From Craig Ringer
Subject Re: Feature discussion: Should syntax errors abort a transaction?
Date
Msg-id 4FE05D18.1070307@postnewspapers.com.au
Whole thread Raw
In response to Re: Feature discussion: Should syntax errors abort a transaction?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Feature discussion: Should syntax errors abort a transaction?  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
List pgsql-general
On 06/19/2012 02:20 PM, Tom Lane wrote:
> So you're suggesting that "SELECT 1/0;" should terminate a transaction,
> but "SELECT 1//0;" should not?  How about "ROLBACK;"?  It gets pretty
> squishy pretty fast when you try to decide which sorts of errors are
> more important than others.
>
When put that way, it seems blindingly obvious. You have a talent for
making a devastating point very succinctly.

--
Craig Ringer

POST Newspapers
276 Onslow Rd, Shenton Park
Ph: 08 9381 3088     Fax: 08 9388 2258
ABN: 50 008 917 717
http://www.postnewspapers.com.au/

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Fine-grained replication?
Next
From: Achilleas Mantzios
Date:
Subject: Re: Fine-grained replication?