Re: Aw: Re: Minor documentation error regarding streaming replication protocol - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Aw: Re: Minor documentation error regarding streaming replication protocol
Date
Msg-id 3682335.1602775113@sss.pgh.pa.us
Whole thread Raw
In response to Minor documentation error regarding streaming replication protocol  (Brar Piening <brar@gmx.de>)
Responses Aw: Re: Re: Minor documentation error regarding streaming replication protocol  (Brar Piening <Brar@gmx.de>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Logical Replication - detail message with names of missing columns
Next
From: Stephen Frost
Date:
Subject: Re: [Patch] Using Windows groups for SSPI authentication