Re: Confused about stream replication protocol documentation

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Confused about stream replication protocol documentation
Дата
Msg-id a60d7cd0-6df9-bd7b-e44d-fe922728c66b@oss.nttdata.com
обсуждение исходный текст
Ответ на Confused about stream replication protocol documentation  (Li Japin <japinli@hotmail.com>)
Ответы Re: Confused about stream replication protocol documentation  (Li Japin <japinli@hotmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Pavel Borisov
Дата:
Сообщение: Re: [PATCH] Automatic HASH and LIST partition creation
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [PATCH] Automatic HASH and LIST partition creation