jackc / pglogrepl

PostgreSQL logical replication library for Go.
MIT License
330 stars 62 forks source link

Add binary format for TupleData #30

Closed ubombi closed 2 years ago

ubombi commented 2 years ago

Enable binary format for tuple data.

Byte1('b') Identifies the data as binary formatted value.

Haven't seen any specific tests for TupleData. So kept PR small. Works well with .DecodeBinary from pgtype.