Re: ps command does not show walsender's connected db
Fujii Masao <masao.fujii@oss.nttdata.com>
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: bt22nakamorit <bt22nakamorit@oss.nttdata.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-10-07T13:55:39Z
Lists: pgsql-hackers
On 2022/10/07 18:43, bt22nakamorit wrote:
> 2022-10-07 16:59 Fujii Masao wrote:
>
>> s/subscriber/publisher ?
>
> I did not understand what this means.
Sorry for confusing wording... I was just trying to say that walsender
is connected to a database of the publisher instead of subscriber.
>> Thanks for the patch!
>>
>> -
>> + printf("fork child process\n");
>> + printf(" am_walsender: %d\n", am_walsender);
>> + printf(" am_db_walsender: %d\n", am_db_walsender);
>>
>> The patch seems to include the debug code accidentally.
>> Except this, the patch looks good to me.
>
> I apologize for the silly mistake.
> I edited the patch and attached it to this mail.
Thanks for updating the patch! LGTM.
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
Commits
-
Add the database name to the ps display of logical WAL senders
- af205152ef57 16.0 landed