public inbox for [email protected]help / color / mirror / Atom feed
pgsql: pg_resetwal: Fix incorrect error message related to pg_wal/summa 3+ messages / 1 participants [nested] [flat]
* pgsql: pg_resetwal: Fix incorrect error message related to pg_wal/summa @ 2026-02-04 07:38 Michael Paquier <[email protected]> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2026-02-04 07:38 UTC (permalink / raw) To: [email protected] pg_resetwal: Fix incorrect error message related to pg_wal/summaries/ A failure while closing pg_wal/summaries/ incorrectly generated a report about pg_wal/archive_status/. While at it, this commit adds #undefs for the macros used in KillExistingWALSummaries() and KillExistingArchiveStatus() to prevent those values from being misused in an incorrect function context. Oversight in dc212340058b. Author: Tianchen Zhang <[email protected]> Reviewed-by: Chao Li <[email protected]> Reviewed-by: Kyotaro Horiguchi <[email protected]> Discussion: https://postgr.es/m/SE2P216MB2390C84C23F428A7864EE07FA19BA@SE2P216MB2390.KORP216.PROD.OUTLOOK.COM Backpatch-through: 17 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2ca4464b6992508a6be201ff8f10847e64e2291d Modified Files -------------- src/bin/pg_resetwal/pg_resetwal.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: pg_resetwal: Fix incorrect error message related to pg_wal/summa @ 2026-02-04 07:38 Michael Paquier <[email protected]> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2026-02-04 07:38 UTC (permalink / raw) To: [email protected] pg_resetwal: Fix incorrect error message related to pg_wal/summaries/ A failure while closing pg_wal/summaries/ incorrectly generated a report about pg_wal/archive_status/. While at it, this commit adds #undefs for the macros used in KillExistingWALSummaries() and KillExistingArchiveStatus() to prevent those values from being misused in an incorrect function context. Oversight in dc212340058b. Author: Tianchen Zhang <[email protected]> Reviewed-by: Chao Li <[email protected]> Reviewed-by: Kyotaro Horiguchi <[email protected]> Discussion: https://postgr.es/m/SE2P216MB2390C84C23F428A7864EE07FA19BA@SE2P216MB2390.KORP216.PROD.OUTLOOK.COM Backpatch-through: 17 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/263af458e4ceb0c17e717a2cafd648908aeb4911 Modified Files -------------- src/bin/pg_resetwal/pg_resetwal.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: pg_resetwal: Fix incorrect error message related to pg_wal/summa @ 2026-02-04 07:38 Michael Paquier <[email protected]> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2026-02-04 07:38 UTC (permalink / raw) To: [email protected] pg_resetwal: Fix incorrect error message related to pg_wal/summaries/ A failure while closing pg_wal/summaries/ incorrectly generated a report about pg_wal/archive_status/. While at it, this commit adds #undefs for the macros used in KillExistingWALSummaries() and KillExistingArchiveStatus() to prevent those values from being misused in an incorrect function context. Oversight in dc212340058b. Author: Tianchen Zhang <[email protected]> Reviewed-by: Chao Li <[email protected]> Reviewed-by: Kyotaro Horiguchi <[email protected]> Discussion: https://postgr.es/m/SE2P216MB2390C84C23F428A7864EE07FA19BA@SE2P216MB2390.KORP216.PROD.OUTLOOK.COM Backpatch-through: 17 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c8ec74713bf2c703c19f231ea4d1e6479630c72d Modified Files -------------- src/bin/pg_resetwal/pg_resetwal.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2026-02-04 07:38 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-02-04 07:38 pgsql: pg_resetwal: Fix incorrect error message related to pg_wal/summa Michael Paquier <[email protected]> 2026-02-04 07:38 pgsql: pg_resetwal: Fix incorrect error message related to pg_wal/summa Michael Paquier <[email protected]> 2026-02-04 07:38 pgsql: pg_resetwal: Fix incorrect error message related to pg_wal/summa Michael Paquier <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox