[COMMITTERS] pgsql: Fix pg_dump to assign domain array type OIDs during pg_upgrade. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Fix pg_dump to assign domain array type OIDs during pg_upgrade.
Date
Msg-id E1dyOwi-0006b3-De@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix pg_dump to assign domain array type OIDs during pg_upgrade.

During a binary upgrade, all type OIDs are supposed to be assigned by
pg_dump based on their values in the old cluster.  But now that domains
have arrays, there's nothing to base the arrays' type OIDs on, if we're
upgrading from a pre-v11 cluster.  Make pg_dump search for an unused type
OID to use for this purpose.  Per buildfarm.

Discussion: https://postgr.es/m/E1dyLlE-0002gT-H5@gemulon.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2632bcce5e767a2b5901bbef54ae52df061eee72

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 79 ++++++++++++++++++++++++++++++++++++-----------
1 file changed, 61 insertions(+), 18 deletions(-)


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

pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [COMMITTERS] pgsql: Support arrays over domains.
Next
From: Andrew Dunstan
Date:
Subject: Re: [COMMITTERS] pgsql: Add test for postmaster crash restarts.