Re: Adding in docs the meaning of pg_stat_replication.sync_state - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Adding in docs the meaning of pg_stat_replication.sync_state
Date
Msg-id CAHGQGwGhKX-+yugCG=4sckswP9HodGCr8_9b3N3Y0jfG0f3+vA@mail.gmail.com
Whole thread Raw
In response to Re: Adding in docs the meaning of pg_stat_replication.sync_state  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Adding in docs the meaning of pg_stat_replication.sync_state
List pgsql-hackers
On Tue, Dec 6, 2016 at 2:13 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Tue, Dec 6, 2016 at 1:54 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> +           <literal>backup</>: The WAL sender is sending a backup.
>>
>> Seems it's better to use "This WAL sender" rather than "The WAL sender"
>> like the descriptions of other fields.
>>
>> There are two descriptions of "streaming" value. You need to remove
>> either of them.
>>
>> +           <literal>streaming</>: The WAL sender is catching up with the
>> +           primary.
>>
>> "walsender is catching up with the primary" sounds a bit strange to me.
>> What about "This WAL sender's connected standby server is catching up
>> with the primary"?
>>
>> +           <literal>streaming</>: The WAL sender has caught up with the
>> +           primary and is streaming changes.
>>
>> Same as above.
>
> Agreed with all that. Attached is an updated version.

Thanks for updating the patch! Attached is the updated version of the patch.

I changed the order of descriptions of the walsender state in
intuitive one rather than alphabetical one. Also I enhanced
the description of "potential" state.

Could you review the latest patch?

Regards,

--
Fujii Masao

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Random number generation, take two
Next
From: Michael Paquier
Date:
Subject: Re: Adding in docs the meaning of pg_stat_replication.sync_state