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 <[email protected]>
Discussion: 
https://postgr.es/m/cahgqgwekp1-1n5ic38+yhsnh955+kshwtcl6dza0vk_vuuf...@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(-)

Reply via email to