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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-patches by date

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