pgsql: pg_upgrade: prevent oid conflicts with new-cluster TOAST tables

Started by Bruce Momjianalmost 12 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

pg_upgrade: prevent oid conflicts with new-cluster TOAST tables

Previously, TOAST tables only required in the new cluster could cause
oid conflicts if they were auto-numbered and a later conflicting oid had
to be assigned.

Backpatch through 9.3

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4c6780fd17aa43ed6362aa682499cc2f9712cc8b

Modified Files
--------------
contrib/pg_upgrade/dump.c | 70 ++++++++++++++++++++++++++++++++++
contrib/pg_upgrade/pg_upgrade.c | 2 +
contrib/pg_upgrade/pg_upgrade.h | 1 +
src/backend/catalog/toasting.c | 55 +++++++++++++++++++++-----
src/include/catalog/binary_upgrade.h | 5 +++
5 files changed, 123 insertions(+), 10 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers