Re: pg_upgrade < 9.3 -> >=9.3 misses a step around multixacts

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_upgrade < 9.3 -> >=9.3 misses a step around multixacts
Date: 2014-07-02 23:23:32
Message-ID: 20140702232332.GC20463@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Jul 2, 2014 at 03:32:55PM -0400, Bruce Momjian wrote:
> The second will tell them if they should go to a wiki page that will
> show them how to set database and relation minmxid values:
>
> WITH list(file) AS
> (
> SELECT * FROM pg_ls_dir('pg_multixact/offsets')
> )
> SELECT EXISTS (SELECT * FROM list WHERE file ~ '^[8-9A-F]') AND
> EXISTS (SELECT * FROM pg_database WHERE datminmxid = 1)
> AS update_database_and_relation_minmxid;
>
> I will work on the wiki page now.
>
> I think this issue is now ready for 9.3.X, once we write the wiki page
> and release note text.

I have completed the wiki page for the second bug fix:

https://wiki.postgresql.org/wiki/20140702pg_upgrade_fix

The first bug fix just requires removal of the '0000' file, and I think
can be fully explained in the release notes.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message christian 2014-07-03 07:53:43 BUG #10847: Connection.setSavepoint()/releaseSavepoint() is not thread-safe
Previous Message Burgess, Freddie 2014-07-02 20:04:27 Re: Postgresql 9.3.4 Streaming Replication Standby invalid Page block