postgresql/src/bin
Tom Lane 8e4ef32873 Handle arrays and ranges in pg_upgrade's test for non-upgradable types.
pg_upgrade needs to check whether certain non-upgradable data types
appear anywhere on-disk in the source cluster.  It knew that it has
to check for these types being contained inside domains and composite
types; but it somehow overlooked that they could be contained in
arrays and ranges, too.  Extend the existing recursive-containment
query to handle those cases.

We probably should have noticed this oversight while working on
commit 0ccfc2822 and follow-ups, but we failed to :-(.  The whole
thing's possibly a bit overdesigned, since we don't really expect
that any of these types will appear on disk; but if we're going to
the effort of doing a recursive search then it's silly not to cover
all the possibilities.

While at it, refactor so that we have only one copy of the search
logic, not three-and-counting.  Also, to keep the branches looking
more alike, back-patch the output wording change of commit 1634d3615.

Back-patch to all supported branches.

Discussion: https://postgr.es/m/31473.1573412838@sss.pgh.pa.us
2019-11-13 11:35:37 -05:00
..
initdb Translation updates 2019-11-11 10:50:22 +01:00
pg_archivecleanup Translation updates 2019-11-11 10:50:22 +01:00
pg_basebackup Translation updates 2019-11-11 10:50:22 +01:00
pg_config Translation updates 2019-11-11 10:50:22 +01:00
pg_controldata Translation updates 2019-11-11 10:50:22 +01:00
pg_ctl Translation updates 2019-11-11 10:50:22 +01:00
pg_dump Translation updates 2019-11-11 10:50:22 +01:00
pg_resetwal Translation updates 2019-11-11 10:50:22 +01:00
pg_rewind Translation updates 2019-11-11 10:50:22 +01:00
pg_test_fsync Translation updates 2019-11-11 10:50:22 +01:00
pg_test_timing Translation updates 2019-11-11 10:50:22 +01:00
pg_upgrade Handle arrays and ranges in pg_upgrade's test for non-upgradable types. 2019-11-13 11:35:37 -05:00
pg_verify_checksums Translation updates 2019-11-11 10:50:22 +01:00
pg_waldump Translation updates 2019-11-11 10:50:22 +01:00
pgbench Fix integer-overflow edge case detection in interval_mul and pgbench. 2019-11-07 11:23:00 -05:00
pgevent Update copyright for 2018 2018-01-02 23:30:12 -05:00
psql Translation updates 2019-11-11 10:50:22 +01:00
scripts Translation updates 2019-11-11 10:50:22 +01:00
Makefile Allow on-line enabling and disabling of data checksums 2018-04-05 22:04:48 +02:00