Re: Aw: Re: Minor documentation error regarding streaming replication protocol

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Aw: Re: Minor documentation error regarding streaming replication protocol
Дата
Msg-id 3682335.1602775113@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Minor documentation error regarding streaming replication protocol  (Brar Piening <brar@gmx.de>)
Ответы Aw: Re: Re: Minor documentation error regarding streaming replication protocol  (Brar Piening <Brar@gmx.de>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> On Thu, Oct 15, 2020 at 10:03:46AM -0400, Tom Lane wrote:
>> I don't really see why our only documentation choices are "text" or
>> "bytea".  Can't we just write "(raw file contents)" or the like?

> Agreed.  The reason they are those labels is that the C code has to
> label the output fields, so it can only use SQL types.  There are many
> protocol fields mislabeled in this way, not just timeline history.

Ah, right.  Well, let's label it as text and then in the description
of the message, note that the field contains the raw file contents,
whose encoding is unknown to the server.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Logical Replication - detail message with names of missing columns
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [Patch] Using Windows groups for SSPI authentication