postgresql/src/bin
Robert Haas a2996478c3 Preserve relfilenode of pg_largeobject and its index across pg_upgrade.
Commit 9a974cbcba did this for user
tables, but pg_upgrade treats pg_largeobject as a user table, and so
needs the same treatment. Without this fix, if you rewrite the
pg_largeobject table and then perform an upgrade with pg_upgrade, the
table will apparently be empty on the new cluster, while all of your
objects will end up with an orphaned file.

With this fix, instead of the old cluster's pg_largeobject files ending
up orphaned, the original files fro the new cluster do. That's mostly
harmless because we expect the table to be empty, but we might want
to arrange to remove the as part of the upgrade. Since we're still
debating the best way of doing that, I (rhaas) have decided to postpone
dealing with that problem and get the basic fix committed.

Justin Pryzby, reviewed by Shruthi Gowda and by me.

Discussion: http://postgr.es/m/20220701231413.GI13040@telsasoft.com
2022-07-08 10:21:10 -04:00
..
initdb Default to dynamic_shared_memory_type=sysv on Solaris. 2022-07-02 16:23:30 +12:00
pg_amcheck Don't fail on libpq-generated error reports in pg_amcheck. 2022-06-06 11:26:57 -04:00
pg_archivecleanup Translation updates 2022-05-16 11:12:42 +02:00
pg_basebackup Revert 019_replslot_limit.pl related debugging aids. 2022-07-05 11:16:04 -07:00
pg_checksums Translation updates 2022-05-16 11:12:42 +02:00
pg_config Translation updates 2022-05-16 11:12:42 +02:00
pg_controldata Translation updates 2022-05-16 11:12:42 +02:00
pg_ctl Translation updates 2022-05-16 11:12:42 +02:00
pg_dump Preserve relfilenode of pg_largeobject and its index across pg_upgrade. 2022-07-08 10:21:10 -04:00
pg_resetwal Translation updates 2022-05-16 11:12:42 +02:00
pg_rewind Translation updates 2022-05-16 11:12:42 +02:00
pg_test_fsync Translation updates 2022-05-16 11:12:42 +02:00
pg_test_timing Translation updates 2022-05-16 11:12:42 +02:00
pg_upgrade Preserve relfilenode of pg_largeobject and its index across pg_upgrade. 2022-07-08 10:21:10 -04:00
pg_verifybackup Translation updates 2022-05-16 11:12:42 +02:00
pg_waldump Translation updates 2022-06-27 08:19:02 +02:00
pgbench pgbench: Restore compatibility of --partitions=0 2022-05-18 09:47:38 +09:00
pgevent Update copyright for 2022 2022-01-07 19:04:57 -05:00
psql Re-order disable_on_error in tab-complete. 2022-07-07 09:15:52 +05:30
scripts Translation updates 2022-05-16 11:12:42 +02:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00