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

From Jeff Davis
Subject Re: Minor documentation error regarding streaming replication protocol
Date
Msg-id 1d98a44794664a516c41d89d6f1152904cc4d1e7.camel@j-davis.com
Whole thread Raw
In response to Re: Minor documentation error regarding streaming replication protocol  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Thu, 2020-10-08 at 23:17 -0400, Bruce Momjian wrote:
> As I said before, it is more raw bytes, but
> we
> don't have an SQL data type for that.

Sorry to jump in to this thread late.

Can't we just set both "filename" and "content" to be BYTEA, but then
set the format code to 1 (indicating binary)?

For clients that do look at the descriptor, they are more likely to get
it right; and for clients that don't look at the descriptor, there will
be no change.

Regards,
    Jeff Davis





pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: Improving spin-lock implementation on ARM.
Next
From: "David G. Johnston"
Date:
Subject: Off-Schedule Minor Release Consideration?