| From: | Masahiko Sawada <msawada(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add logical decoding status to pg_control_checkpoint(). |
| Date: | 2026-07-21 00:12:37 |
| Message-ID: | E1wly69-000000005nW-27bT@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add logical decoding status to pg_control_checkpoint().
Commit 8108765f04b added the logical decoding status to the
pg_controldata output, but overlooked the pg_control_checkpoint() SQL
function, which reports the same checkpoint information. This commit
adds a logical_decoding column to pg_control_checkpoint(), placed
after full_page_writes to match the pg_controldata output order.
Oversight in 8108765f04b.
Bump catalog version.
Reported-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAHGQGwEkp1-1n5iC38+yHSNh955+KshwtCL6DzA0vk_vuUF_Eg@mail.gmail.com
Backpatch-through: 19
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/99e949f846e9d4c02296795ad041e55d88b1d320
Modified Files
--------------
doc/src/sgml/func/func-info.sgml | 5 +++++
src/backend/utils/misc/pg_controldata.c | 35 ++++++++++++++++++---------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 6 +++---
4 files changed, 28 insertions(+), 20 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Masahiko Sawada | 2026-07-21 00:12:42 | pgsql: Add logical decoding status to pg_control_checkpoint(). |
| Previous Message | Fujii Masao | 2026-07-20 18:28:05 | pgsql: Fix recovery target test waiting on unavailable WAL |