postgresql/src/bin
Nathan Bossart b33f753612 pg_upgrade: Use COPY for LO metadata for upgrades from < v12.
Before v12, pg_largeobject_metadata was defined WITH OIDS, so
unlike newer versions, the "oid" column was a hidden system column
that pg_dump's getTableAttrs() will not pick up.  Thus, for commit
161a3e8b68, we did not bother trying to use COPY for
pg_largeobject_metadata for upgrades from older versions.  This
commit removes that restriction by adjusting the query in
getTableAttrs() to pick up the "oid" system column and by teaching
dumpTableData_copy() to use COPY (SELECT ...) for this catalog,
since system columns cannot be used in COPY's column list.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/aYzuAz_ITUpd9ZvH%40nathan
2026-02-16 15:13:06 -06:00
..
initdb Update to latest Snowball sources. 2026-01-05 15:22:37 -05:00
pg_amcheck Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_archivecleanup Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_basebackup Standardize replication origin naming to use "ReplOrigin". 2026-01-28 11:03:29 -08:00
pg_checksums Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_combinebackup Fix some error message inconsistencies 2026-02-06 15:38:16 +09:00
pg_config Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_controldata Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_ctl Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_dump pg_upgrade: Use COPY for LO metadata for upgrades from < v12. 2026-02-16 15:13:06 -06:00
pg_resetwal pg_resetwal: Fix incorrect error message related to pg_wal/summaries/ 2026-02-04 16:38:06 +09:00
pg_rewind Further error message fix 2026-02-07 22:37:02 +01:00
pg_test_fsync Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_test_timing Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_upgrade pg_upgrade: Optimize logical replication slot caught-up check. 2026-02-04 17:11:27 -08:00
pg_verifybackup Fix accidentally cast away qualifiers 2026-01-26 16:02:31 +01:00
pg_waldump pg_waldump: Remove file-level global WalSegSz. 2026-01-27 08:33:20 -05:00
pg_walsummary Fix accidentally cast away qualifiers 2026-01-26 16:02:31 +01:00
pgbench Update copyright for 2026 2026-01-01 13:24:10 -05:00
pgevent Update copyright for 2026 2026-01-01 13:24:10 -05:00
psql Restart BackgroundPsql's timer more nicely. 2026-02-13 11:36:31 +01:00
scripts Update copyright for 2026 2026-01-01 13:24:10 -05:00
Makefile Update copyright for 2026 2026-01-01 13:24:10 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00