mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-16 12:40:36 +00:00
review: add COPY_DATA_TAG mention
This commit is contained in:
@@ -1013,7 +1013,9 @@ impl BeMessage<'_> {
|
||||
}
|
||||
|
||||
BeMessage::InterpretedWalRecords(rec) => {
|
||||
buf.put_u8(b'd'); // arbitrary byte
|
||||
// We use the COPY_DATA_TAG for our custom message
|
||||
// since this tag is interpreted as raw bytes.
|
||||
buf.put_u8(b'd');
|
||||
write_body(buf, |buf| {
|
||||
buf.put_u8(b'0'); // matches INTERPRETED_WAL_RECORD_TAG in postgres-protocol
|
||||
// dependency
|
||||
|
||||
Reference in New Issue
Block a user