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: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: nested xacts and phantom Xids
Date: 2004-06-23 00:32:48
Message-ID: 20040623003248.GF9969@dcc.uchile.cl (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
On Sun, Jun 20, 2004 at 08:49:22PM -0400, Tom Lane wrote:

> Of these the one that I think most urgently needs attention is inval.c;
> that is complicated code already and figuring out what should happen
> for subtrans commit/abort is not trivial.  The others look relatively
> straightforward to fix, if tedious.

A patch for this is attached.  It _seems_ to work ok; conceptually it
seems ok too.  I have done some testing which tends to indicate that it
is right, but I'm not sure of all the implications this code has so I
don't know how to test it exhaustively.  Of course, regression tests
pass, but this doesn't actually prove anything.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"¿Que diferencia tiene para los muertos, los huérfanos, y aquellos que han
perdido su hogar, si la loca destrucción ha sido realizada bajo el nombre
del totalitarismo o del santo nombre de la libertad y la democracia?" (Gandhi)

In response to

pgsql-hackers by date

Next:From: Christopher Kings-LynneDate: 2004-06-23 01:40:54
Subject: Re: initdb regression ?
Previous:From: Gaetano MendolaDate: 2004-06-22 23:24:22
Subject: Re: warning missing

pgsql-patches by date

Next:From: Christopher Kings-LynneDate: 2004-06-23 04:56:07
Subject: OWNER TO mega patch #2
Previous:From: Dave PageDate: 2004-06-22 07:30:53
Subject: Re: Compile failure with SSL

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