Re: pg_upgrade bug found! - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: pg_upgrade bug found!
Date
Msg-id 1302211565.19211.9.camel@jdavis-ux.asterdata.local
Whole thread Raw
In response to Re: pg_upgrade bug found!  (Bruce Momjian <bruce@momjian.us>)
Responses Re: pg_upgrade bug found!  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Thu, 2011-04-07 at 17:06 -0400, Bruce Momjian wrote:
> I want to avoid anything that requires a compile because they are hard
> for many sites to install so TransactionIdPrecedes() is out.  We will
> need to do this in PL/pgSQL probably.

PL/pgSQL can't see dead rows, so that would not be correct. It's
guaranteed to be the same value you see from the heap or newer; because
if it's not visible in the heap, it's not going to be visible in the
toast table.

Regards,Jeff Davis



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Typed-tables patch broke pg_upgrade
Next
From: Bruce Momjian
Date:
Subject: Re: pg_upgrade bug found!