Re: different transaction handling between postgresql and - Mailing list pgsql-general

From Stephan Szabo
Subject Re: different transaction handling between postgresql and
Date
Msg-id 20030714083259.Q61305-100000@megazone.bigpanda.com
Whole thread Raw
In response to Re: different transaction handling between postgresql and  (Peter Childs <blue.dragon@blueyonder.co.uk>)
List pgsql-general
On Mon, 14 Jul 2003, Peter Childs wrote:

> On Mon, 14 Jul 2003, Mike Mascari wrote:
>
> > J�rg Schulz wrote:
> >
> > >>... I have this feeling the reason Oracle gives this result may
> > >>be again because transactions have been switched off!
> > >
> > > This snippet comes from the Oracle console:
> > > (table name is "a" not "test" / messages are in german)
> > >
> > ...
> >
> > > SQL> select * from a;
> > >
> > >          A
> > > ----------
> > >          1
> > >          3
> > >          4
> > >          2
> >
> > Presumably Oracle is not rolling back a duplicate key violation,
> > allowing the transaction to continue. This is an often requested
> > feature not present in PostgreSQL.
>
> Bug. Not Feature

Well as far as spec compliance goes it's not. Our behavior is mostly
compliant by explicitly saying that all errors are unrecoverable ones.
The spec explicitly allows (or one could say expects) behavior like
Oracle's for any error that doesn't occur on the execution of the commit
itself. As to whether it's a good idea or not, ...



pgsql-general by date:

Previous
From: "Vincent Hikida"
Date:
Subject: Re: Fw: select null + 0 question
Next
From: u15074
Date:
Subject: What is the max size for a bytea field?