Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V5QQH-0008Po-21 for pgsql-bugs@arkaria.postgresql.org; Sat, 03 Aug 2013 01:14:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V5QQG-0004zU-DM for pgsql-bugs@arkaria.postgresql.org; Sat, 03 Aug 2013 01:14:20 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V5QQE-0004zH-Dq; Sat, 03 Aug 2013 01:14:18 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V5QQB-00075c-LI; Sat, 03 Aug 2013 01:14:17 +0000 Received: from intern.anarazel.de (unknown [115.85.68.163]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 483054E8002; Sat, 3 Aug 2013 03:14:13 +0200 (CEST) Date: Sat, 3 Aug 2013 03:14:09 +0200 From: Andres Freund To: Alvaro Herrera Cc: Jesse Denardo , Bruce Momjian , pgsql-bugs@postgresql.org, Pg Hackers Subject: Re: 9.3beta2: Failure to pg_upgrade Message-ID: <20130803011409.GA27796@alap2.anarazel.de> References: <20130731160307.GC3716@momjian.us> <20130731165633.GW14652@eldon.alvh.no-ip.org> <20130731170631.GG3716@momjian.us> <20130731205532.GA14652@eldon.alvh.no-ip.org> <20130802221743.GW5669@eldon.alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130802221743.GW5669@eldon.alvh.no-ip.org> X-Pg-Spam-Score: -0.7 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 2013-08-02 18:17:43 -0400, Alvaro Herrera wrote: > Alvaro Herrera escribió: > > > As it turns out, I have a patched slru.c that adds a new function to > > verify whether a page exists on disk. I created this for the commit > > timestamp module, for the BDR branch, but I think it's what we need > > here. > > Here's a patch that should fix the problem. Jesse, if you're able to > test it, please give it a run and let me know if it works for you. I > was able to upgrade an installation containing a problem that should > reproduce yours. Wouldn't it be easier to make pg_upgrade fudge pg_control to have a safe NextMultiXactId/Offset using pg_resetxlog? Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs