Re: pg_upgrade patches applied - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_upgrade patches applied
Date
Msg-id 201101051539.p05Fd8m24009@momjian.us
Whole thread Raw
In response to Re: pg_upgrade patches applied  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_upgrade patches applied  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > The last patch fixes a problem where I was not migrating
> > pg_largeobject_metadata and its index for 9.0+ migrations, which of
> > course would only affect migrations to 9.1 and 9.0 to 9.0 migrations, so
> > I backpatched that to 9.0.
> 
> That isn't going to work.  At least not unless you start trying to force
> roles to have the same OIDs in the new installation.

Uh, don't we store the pg_shadow.usesysid in pg_largeobject_metadata? 
If so I can use the CREATE ROLE ... SYSID clause when doing a binary
upgrade.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: Streaming base backups
Next
From: David Fetter
Date:
Subject: Re: ALTER EXTENSION UPGRADE patch v1