Re: ERROR: cannot GetMultiXactIdMembers() during recovery - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ERROR: cannot GetMultiXactIdMembers() during recovery
Date
Msg-id 20150515180335.GE2523@alvh.no-ip.org
Whole thread Raw
In response to Re: ERROR: cannot GetMultiXactIdMembers() during recovery  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: ERROR: cannot GetMultiXactIdMembers() during recovery  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Andres Freund wrote:

> Alternatively we could make MultiXactIdIsRunning() return false < 9.3
> when in recovery. I think that'd end up fixing things, but it seems
> awfully fragile to me.

Hm, why fragile?  It seems a pretty decent answer -- pre-9.3, it's not
possible for a tuple to be "locked" in recovery, is it?  I mean, in the
standby you can't lock it nor update it; the only thing you can do is
read (select), and that is not affected by whether there is a multixact
in it.

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



pgsql-hackers by date:

Previous
From: andres@anarazel.de (Andres Freund)
Date:
Subject: Re: Triaging the remaining open commitfest items
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Changes to backup.sgml