pgsql: pg_controldata: Show logical decoding status.

From: Masahiko Sawada <msawada(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_controldata: Show logical decoding status.
Date: 2026-07-16 19:22:02
Message-ID: E1wkRej-000VJT-2M@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_controldata: Show logical decoding status.

The logical decoding status is stored in checkpoint records and used
to restore the status at server startup, but pg_controldata did not
show it. This information is useful for diagnosing issues around the
dynamic activation and deactivation of logical decoding.

Oversight in 67c20979ce7.

Reviewed-by: Guoqing Yang <yanggq1988(at)126(dot)com>
Reviewed-by: Hayato Kuroda <kuroda(dot)hayato(at)fujitsu(dot)com>
Discussion: https://postgr.es/m/CAD21AoAnPAugUnDic+ESvrfXjXHk2bss9eHAD7zP0-Chy2UabA@mail.gmail.com
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8e93e0c72b8aa225b0a66d4afdfb69e38d8b2424

Modified Files
--------------
src/bin/pg_controldata/pg_controldata.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2026-07-16 22:10:52 pgsql: Use fake LSNs consistently in hash index AM.
Previous Message Masahiko Sawada 2026-07-16 19:21:58 pgsql: pg_controldata: Show logical decoding status.