]> granicus.if.org Git - postgresql/commit
pg_upgrade: prevent oid conflicts with new-cluster TOAST tables
authorBruce Momjian <bruce@momjian.us>
Thu, 7 Aug 2014 18:56:13 +0000 (14:56 -0400)
committerBruce Momjian <bruce@momjian.us>
Thu, 7 Aug 2014 18:56:13 +0000 (14:56 -0400)
commit4c6780fd17aa43ed6362aa682499cc2f9712cc8b
treecd92b289888c04beaf5775ecee391c1a31b10cac
parentec903d20e3b4c1a543dbf057055e4ddbfad4d59e
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
contrib/pg_upgrade/dump.c
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.h
src/backend/catalog/toasting.c
src/include/catalog/binary_upgrade.h