Re: nested xacts and phantom Xids

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: nested xacts and phantom Xids
Date: 2004-06-24 03:28:27
Message-ID: 8298.1088047707@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> 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.

Nested transactions are *good*. We should not hide them.

I don't object to offering spec-compatible savepoints, but the plain
fact of the matter is that that's a dumbed-down API. We should not
feel constrained to offer only that.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2004-06-24 03:29:09 Re: PREPARE and transactions
Previous Message Christopher Kings-Lynne 2004-06-24 02:21:30 pg_get_indexdef

Browse pgsql-patches by date

  From Date Subject
Next Message Serguei Mokhov 2004-06-24 04:11:27 Translation updates for 7.4/7.5: postgres-ru.po
Previous Message Alvaro Herrera 2004-06-24 01:05:26 Re: nested xacts and phantom Xids