Re: transaction processing after error in statement

From: Rod Taylor <pg(at)rbt(dot)ca>
To: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
Cc: Holger Jakobs <holger(at)jakobs(dot)com>, sszabo(at)megazone(dot)bigpanda(dot)com, pgsql-sql(at)postgresql(dot)org
Subject: Re: transaction processing after error in statement
Date: 2003-11-10 19:45:05
Message-ID: 1068493505.25089.48.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> Although i am not aware of the roots of this discussion but would like
> to
> comment at this point .
>
> When we work with sequences an aborted transaction does have
> a permanent effect on the last value of sequence. Is this behaviour
> not a violation of above defination of transaction ?

I believe you are correct, which is probably why Oracle offers
serialized sequences for those who want them to be. Sequences have been
explicitly documented as functioning the way they do as a concession for
performance.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Nick Fankhauser - Doxpop 2003-11-10 20:57:52 Is there a more elegant way to write this query?...
Previous Message Gaetano Mendola 2003-11-10 19:12:49 Re: Dynamic Query for System functions - now()