pgsql: pg_controldata: Show logical decoding status. - Mailing list pgsql-committers

From Masahiko Sawada
Subject pgsql: pg_controldata: Show logical decoding status.
Date
Msg-id E1wkRef-000VIr-38@gemulon.postgresql.org
Whole thread
List 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@126.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/CAD21AoAnPAugUnDic+ESvrfXjXHk2bss9eHAD7zP0-Chy2UabA@mail.gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8108765f04b8dae252825123834fe350cafe174f

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


pgsql-committers by date:

Previous
From: Masahiko Sawada
Date:
Subject: pgsql: Correct logical decoding status at end of recovery with minimal
Next
From: Masahiko Sawada
Date:
Subject: pgsql: pg_controldata: Show logical decoding status.