Re: 9.4.1 -> 9.4.2 problem: could not access status of transaction 1

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Steve Kehlet <steve(dot)kehlet(at)gmail(dot)com>
Cc: Forums postgresql <pgsql-general(at)postgresql(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 9.4.1 -> 9.4.2 problem: could not access status of transaction 1
Date: 2015-05-28 01:19:57
Message-ID: 20150528011957.GF5885@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Steve Kehlet wrote:
> On Wed, May 27, 2015 at 3:21 PM Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
> wrote:
>
> > I think a patch like this should be able to fix it ... not tested yet.
> >
>
> Thanks Alvaro. I got a compile error, so looked for other uses of
> SimpleLruDoesPhysicalPageExist and added MultiXactOffsetCtl, does this look
> right?
>
> + (!InRecovery || SimpleLruDoesPhysicalPageExist(MultiXactOffsetCtl,
> pageno)))

Meh, I sent you the wrong version of the patch. Yeah, that's obviously
better.

> It compiled then, but it didn't seem to change anything: postgres gave the
> same errors and still would not start up.

I'm setting up a reproducer for the problem to verify that the patch
fixes it (evidently not). Maybe I've messed up the conditional or
something else ...

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tory M Blue 2015-05-28 01:28:17 ERROR: missing chunk number 0 for toast value 1821556134 in pg_toast_17881
Previous Message Adrian Klaver 2015-05-28 00:48:43 Re: Python 3.2 XP64 and Numpy...

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-05-28 01:23:34 Re: problems on Solaris
Previous Message Stephen Frost 2015-05-28 01:11:25 Re: [COMMITTERS] pgsql: Add pg_audit, an auditing extension