Add the database name to the ps display of logical WAL senders

Enterprise / PostgreSQL - Michael Paquier [paquier.xyz] - 24 November 2022 07:07 UTC

Logical WAL senders display now as follows, gaining a database name: postgres: walsender USER DATABASE HOST(PORT) STATE

Physical WAL senders show up the same, as of: postgres: walsender USER HOST(PORT) STATE

This information was missing, hence it was not possible to know from ps if a WAL sender was a logical or a physical one, and on which database it is connected when it is logical.

Author: Tatsuhiro Nakamori

af205152ef Add the database name to the ps display of logical WAL senders
src/backend/postmaster/postmaster.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: git.postgresql.org


  • Share