Skip site navigation (1) Skip section navigation (2)

pgsql: Fix pg_upgrade of large object permissions by preservingpg_auth

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pg_upgrade of large object permissions by preservingpg_auth
Date: 2011-01-08 02:59:56
Message-ID: E1PbP24-0000qc-84@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Fix pg_upgrade of large object permissions by preserving pg_auth.oid,
which is stored in pg_largeobject_metadata.

No backpatch to 9.0 because you can't migrate from 9.0 to 9.0 with the
same catversion (because of tablespace conflict), and a pre-9.0
migration to 9.0 has not large object permissions to migrate.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d8d3d2a4f37f6df5d0118b7f5211978cca22091a

Modified Files
--------------
contrib/pg_upgrade/dump.c                       |    2 +-
contrib/pg_upgrade/function.c                   |   23 +++++++---------
contrib/pg_upgrade/info.c                       |    2 +-
contrib/pg_upgrade/pg_upgrade.c                 |   22 +++++++++++++---
contrib/pg_upgrade/pg_upgrade.h                 |    2 +-
contrib/pg_upgrade_support/pg_upgrade_support.c |   13 +++++++++
src/backend/commands/user.c                     |   13 +++++++++
src/bin/pg_dump/pg_dumpall.c                    |   32 +++++++++++++++-------
8 files changed, 79 insertions(+), 30 deletions(-)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2011-01-08 03:02:03
Subject: pgsql: Fix C indenting in pg_upgrade function.
Previous:From: Bruce MomjianDate: 2011-01-08 02:26:15
Subject: pgsql: Force pg_upgrade's to preserve pg_class.oid,not pg_class.relfil

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group