git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5ba1ac9) | patch
Prohibit max_slot_wal_keep_size to value other than -1 during upgrade.
2023年11月10日 03:15:01 +0000 (08:45 +0530)
2023年11月10日 03:15:01 +0000 (08:45 +0530)
commit 8bfb231b43d7f6058041483f2b823dd52eac7bf8
Prohibit max_slot_wal_keep_size to value other than -1 during upgrade.

We don't want existing slots in the old cluster to get invalidated during
the upgrade. During an upgrade, we set this variable to -1 via the command
line in an attempt to prevent such invalidations, but users have ways to
override it. This patch ensures the value is not overridden by the user.

Author: Kyotaro Horiguchi
Reviewed-by: Peter Smith, Alvaro Herrera
Discussion: http://postgr.es/m/20231027.115759.2206827438943188717.horikyota.ntt@gmail.com
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/replication/slot.c diff | blob | blame | history
src/backend/utils/misc/guc_tables.c diff | blob | blame | history
src/include/utils/guc_hooks.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /