Re: Confused about stream replication protocol documentation - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Confused about stream replication protocol documentation
Date
Msg-id a60d7cd0-6df9-bd7b-e44d-fe922728c66b@oss.nttdata.com
Whole thread Raw
In response to Confused about stream replication protocol documentation  (Li Japin <japinli@hotmail.com>)
Responses Re: Confused about stream replication protocol documentation
List pgsql-hackers

On 2020/12/22 18:07, Li Japin wrote:
> Hi, all
> 
> In Stream Replication Protocol [1], the documentation of `START_REPLICATION` message is
> 
> XLogData (B)
>    …
> Primary keepalive message (B)
>    …
> Standby status update (F)
>    …
> Hot Standby feedback message (F)
>    ...
> 
> I’m confused about the means of ‘B’ and ‘F’? If it doesn't make sense, why we document here?
> However, if it makes sense, should we explain it?
> Can someone help me out?

‘B’ means a backend and ‘F’ means a frontend. Maybe as [1] does, we should
add the note like "Each is marked to indicate that it can be sent by
  a frontend (F) and a backend (B)" into the description about each message
  format for START_REPLICATION.

[1]
https://www.postgresql.org/docs/devel/protocol-message-formats.html

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



pgsql-hackers by date:

Previous
From: Pavel Borisov
Date:
Subject: Re: [PATCH] Automatic HASH and LIST partition creation
Next
From: Fabien COELHO
Date:
Subject: Re: [PATCH] Automatic HASH and LIST partition creation