pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Morph pg_replication_slots.min_safe_lsn to safe_wal_size 2+ messages / 1 participants [nested] [flat]
* pgsql: Morph pg_replication_slots.min_safe_lsn to safe_wal_size @ 2020-07-07 17:09 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 2+ messages in thread From: Alvaro Herrera @ 2020-07-07 17:09 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Morph pg_replication_slots.min_safe_lsn to safe_wal_size The previous definition of the column was almost universally disliked, so provide this updated definition which is more useful for monitoring purposes: a large positive value is good, while zero or a negative value means danger. This should be operationally more convenient. Backpatch to 13, where the new column to pg_replication_slots (and the feature it represents) were added. Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Author: Álvaro Herrera <alvherre@alvh.no-ip.org> Reported-by: Fujii Masao <masao.fujii@oss.nttdata.com> Discussion: https://postgr.es/m/9ddfbf8c-2f67-904d-44ed-cf8bc5916228@oss.nttdata.com Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c54b5891f415df36809de1aeb97e4574d5456d69 Modified Files -------------- doc/src/sgml/catalogs.sgml | 7 ++++-- src/backend/access/transam/xlog.c | 6 ++--- src/backend/catalog/system_views.sql | 2 +- src/backend/replication/slotfuncs.c | 40 +++++++++++++++++++++++-------- src/include/access/xlog_internal.h | 7 ++++++ src/include/catalog/catversion.h | 2 +- src/include/catalog/pg_proc.dat | 4 ++-- src/test/recovery/t/019_replslot_limit.pl | 22 ++++++++--------- src/test/regress/expected/rules.out | 4 ++-- 9 files changed, 60 insertions(+), 34 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Morph pg_replication_slots.min_safe_lsn to safe_wal_size @ 2020-07-07 17:09 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 2+ messages in thread From: Alvaro Herrera @ 2020-07-07 17:09 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Morph pg_replication_slots.min_safe_lsn to safe_wal_size The previous definition of the column was almost universally disliked, so provide this updated definition which is more useful for monitoring purposes: a large positive value is good, while zero or a negative value means danger. This should be operationally more convenient. Backpatch to 13, where the new column to pg_replication_slots (and the feature it represents) were added. Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Author: Álvaro Herrera <alvherre@alvh.no-ip.org> Reported-by: Fujii Masao <masao.fujii@oss.nttdata.com> Discussion: https://postgr.es/m/9ddfbf8c-2f67-904d-44ed-cf8bc5916228@oss.nttdata.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a8aaa0c786b3a27706172cc7979684a122ebb706 Modified Files -------------- doc/src/sgml/catalogs.sgml | 7 ++++-- src/backend/access/transam/xlog.c | 6 ++--- src/backend/catalog/system_views.sql | 2 +- src/backend/replication/slotfuncs.c | 40 +++++++++++++++++++++++-------- src/include/access/xlog_internal.h | 7 ++++++ src/include/catalog/catversion.h | 2 +- src/include/catalog/pg_proc.dat | 4 ++-- src/test/recovery/t/019_replslot_limit.pl | 22 ++++++++--------- src/test/regress/expected/rules.out | 4 ++-- 9 files changed, 60 insertions(+), 34 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-07-07 17:09 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-07-07 17:09 pgsql: Morph pg_replication_slots.min_safe_lsn to safe_wal_size Alvaro Herrera <alvherre@alvh.no-ip.org> 2020-07-07 17:09 pgsql: Morph pg_replication_slots.min_safe_lsn to safe_wal_size Alvaro Herrera <alvherre@alvh.no-ip.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox