pgsql: Add logical decoding status to pg_control_checkpoint().

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:42
Message-ID: E1wly6E-000000005oA-1AP5@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
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4ca78f292de7b86495cec0a416dc047d94df96c4

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2026-07-21 04:02:06 pgsql: Allow logical replication workers to ignore default_transaction_
Previous Message Masahiko Sawada 2026-07-21 00:12:37 pgsql: Add logical decoding status to pg_control_checkpoint().