Re: Nested transactions: low level stuff - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: Nested transactions: low level stuff
Date
Msg-id 3E793AEE.1F58D730@tpf.co.jp
Whole thread Raw
In response to Re: Nested transactions: low level stuff  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Nested transactions: low level stuff  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:
> 
> Hiroshi Inoue wrote:
> > > > > I think we are a long way from saying we can or will actually do it.
> > > > > Error handling and resource management (eg locks) are a couple of other
> > > > > huge cans of worms that have yet to be opened.  But certainly a solid
> > > > > design for the transaction logging and tuple validity checking is a
> > > > > necessary step.
> > > >
> > > > Is the way to undo data rejected already ?
> > >
> > > You mean abort subtransactions?  Each subtransaction gets its own
> > > transaction id, so we just mark that as aborted --- there is no undo of
> > > tuples, though I had originally suggested that approach years ago.
> >
> > Vadim planned to implement the savepoints functionality
> > using UNDO mechanism. AFAIR it was never denied explicitly.
> 
> If you go to the TODO.detail/transactions archive, there was discussion
> of using UNDO, and most felt that there were too many problems of having
> to manage the undo system,

This is closely related to the basics of PostgreSQL.
Pleas don't decide it implicitly.

regards,
Hiroshi Inouehttp://www.geocities.jp/inocchichichi/psqlodbc/


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Nested transactions: low level stuff
Next
From: Tom Lane
Date:
Subject: Faster NUMERIC implementation