Re: ps command does not show walsender's connected db

From: bt22nakamorit <bt22nakamorit(at)oss(dot)nttdata(dot)com>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: ps command does not show walsender's connected db
Date: 2022-10-10 06:50:21
Message-ID: 4b5691462b994c18ff370aaa84cef0d0@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2022-10-10 12:27 Bharath Rupireddy wrote:
> if (port->database_name != NULL && port->database_name[0] != '\0')
> appendStringInfo(&ps_data, "%s ", port->database_name);
>
> The above works better.

Thank you for the suggestion.
I have edited the patch to reflect your idea.

Best,
Tatsuhiro Nakamori

Attachment Content-Type Size
pslogirep3.patch text/x-diff 645 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Drouvot, Bertrand 2022-10-10 07:00:06 Re: Patch proposal: make use of regular expressions for the username in pg_hba.conf
Previous Message Tom Lane 2022-10-10 06:41:06 Re: list of acknowledgments for PG15