Skip site navigation (1) Skip section navigation (2)

Re: nested xacts and phantom Xids

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: nested xacts and phantom Xids
Date: 2004-06-24 01:02:29
Message-ID: 20040624010228.GA27876@dcc.uchile.cl (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
On Wed, Jun 23, 2004 at 08:58:15AM -0400, Bruce Momjian wrote:
> If we add nested transactions for 7.5, are we going to need savepoints
> too in the same release?  If we don't, are we going to get a lot of
> complaints?

It'd be good to have savepoints right now.  I'm not sure it'd be good to
expose the nested transactions implementation if we are going to offer
savepoints later, because it means we will have to keep nested
transactions forever.

Maybe it is a good idea to hide the implementation details and offer
only the standard SAVEPOINT feature.  I'm not sure how hard it is to
change the syntax; I don't think it'd be a big deal.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La conclusiĆ³n que podemos sacar de esos estudios es que
no podemos sacar ninguna conclusiĆ³n de ellos" (Tanenbaum)


In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2004-06-24 01:05:26
Subject: Re: nested xacts and phantom Xids
Previous:From: markwDate: 2004-06-23 21:24:54
Subject: DBT-2 results using tablespaces

pgsql-patches by date

Next:From: Alvaro HerreraDate: 2004-06-24 01:05:26
Subject: Re: nested xacts and phantom Xids
Previous:From: Pavel StehuleDate: 2004-06-23 19:24:40
Subject: actualized czech FAQ

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group