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

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: bt22nakamorit <bt22nakamorit(at)oss(dot)nttdata(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: ps command does not show walsender's connected db
Date: 2022-10-07 13:55:39
Message-ID: 1aa31e62-3236-6a07-8569-0cac6b2fb42d@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2022-10-07 14:02:22 Re: Avoid mix char with bool type in comparisons
Previous Message Daniel Verite 2022-10-07 13:18:54 Re: [patch] \g with multiple result sets and \watch with copy queries