Обсуждение: pgsql: Fix pg_upgrade of large object permissions by preserving pg_auth

Поиск
Список
Период
Сортировка

pgsql: Fix pg_upgrade of large object permissions by preserving pg_auth

От
Bruce Momjian
Дата:
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(-)