postgresql/src/bin
Amit Kapila f36e577451 Fix the handling of two GUCs during upgrade.
Previously, the check_hook functions for max_slot_wal_keep_size and
idle_replication_slot_timeout would incorrectly raise an ERROR for values
set in postgresql.conf during upgrade, even though those values were not
actively used in the upgrade process.

To prevent logical slot invalidation during upgrade, we used to set
special values for these GUCs. Now, instead of relying on those values, we
directly prevent WAL removal and logical slot invalidation caused by
max_slot_wal_keep_size and idle_replication_slot_timeout.

Note: PostgreSQL 17 does not include the idle_replication_slot_timeout
GUC, so related changes were not backported.

BUG #18979
Reported-by: jorsol <jorsol@gmail.com>
Author: Dilip Kumar <dilipbalaut@gmail.com>
Reviewed by: vignesh C <vignesh21@gmail.com>
Reviewed by: Alvaro Herrera <alvherre@alvh.no-ip.org>
Backpatch-through: 17, where it was introduced
Discussion: https://postgr.es/m/219561.1751826409@sss.pgh.pa.us
Discussion: https://postgr.es/m/18979-a1b7fdbb7cd181c6@postgresql.org
2025-07-11 10:28:29 +05:30
..
initdb Run pgperltidy 2025-06-29 21:14:21 -04:00
pg_amcheck Translation updates 2025-05-05 12:04:49 +02:00
pg_archivecleanup Translation updates 2025-05-05 12:04:49 +02:00
pg_basebackup Run pgperltidy 2025-06-29 21:14:21 -04:00
pg_checksums Translation updates 2025-05-05 12:04:49 +02:00
pg_combinebackup Run pgperltidy 2025-06-29 21:14:21 -04:00
pg_config Translation updates 2025-05-05 12:04:49 +02:00
pg_controldata Translation updates 2025-05-05 12:04:49 +02:00
pg_ctl Translation updates 2025-05-05 12:04:49 +02:00
pg_dump pg_dump: Fix object-type sort priority for large objects. 2025-07-10 15:52:41 -05:00
pg_resetwal Translation updates 2025-05-05 12:04:49 +02:00
pg_rewind Run pgperltidy 2025-06-29 21:14:21 -04:00
pg_test_fsync Translation updates 2025-05-05 12:04:49 +02:00
pg_test_timing Translation updates 2025-05-05 12:04:49 +02:00
pg_upgrade Fix the handling of two GUCs during upgrade. 2025-07-11 10:28:29 +05:30
pg_verifybackup Fix bug in archive streamer with LZ4 decompression 2025-07-02 13:48:41 +09:00
pg_waldump Translation updates 2025-05-05 12:04:49 +02:00
pg_walsummary pg_walsummary: Improve stability of test checking statistics 2025-07-08 13:48:52 +09:00
pgbench pgbench: Make set_random_seed() 64-bit everywhere. 2025-03-29 15:24:42 +01:00
pgevent Update copyright for 2025 2025-01-01 11:21:55 -05:00
psql Fix tab-completion for COPY and \copy options. 2025-07-09 05:45:31 -07:00
scripts Run pgperltidy 2025-06-29 21:14:21 -04:00
Makefile Update copyright for 2025 2025-01-01 11:21:55 -05:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00