Re: Sequence question - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Sequence question
Date
Msg-id 20041020170022.GB5096@dcc.uchile.cl
Whole thread Raw
In response to Re: Sequence question  (Andrew Sullivan <ajs@crankycanuck.ca>)
List pgsql-general
On Wed, Oct 20, 2004 at 11:57:42AM -0400, Andrew Sullivan wrote:

> Now, how do you handle the cases where either the transaction fails
> so you can't set it to 3?  Simple: your client captures errors and
> then sets the value back to 1 later.

Has anyone read "the Sagas paper" by Garcia-Molina?  They present a way
to handle "extended transaction models", trying to cope sort-of
automatically with this kind of situations.  More generally, AFAIU the
idea is to have multi-transaction recoverability and rollback-ability.
It seems interesting.

http://portal.acm.org/citation.cfm?doid=38713.38742

I have only skimmed through it, but it sounds somewhat interesting.
I'd love to know what do people think of this.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Los dioses no protegen a los insensatos.  Éstos reciben protección de
otros insensatos mejor dotados" (Luis Wu, Mundo Anillo)


pgsql-general by date:

Previous
From: Josh Close
Date:
Subject: Re: how much ram do i give postgres?
Next
From: Hagen Hoepfner
Date:
Subject: Re: Views + UNION ALL = Slow ?