Replies: 1 comment
-
|
I'm using https://github.com/panates/postgrejs and it has already implemented a binary protocol. Which means they've already built all the data type encoders - https://github.com/panates/postgrejs/tree/main/src/data-types - under a MIT license which I assume is compatible I'm no PG protocol export, but I still see "SELECT" statements going over the wire with postgrejs - is it just the actual data (parameters and rows) that differ in binary/text format or is there a lot more to it ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I know the @porsager is interested in supporting the binary protocol, so I created this thread.
There are several advantages to a binary protocol:
I advise you to study the experience of other clients
C# client: npgsql/npgsql#447
Description binary struct by type: https://github.com/npgsql/doc/blob/main/dev/types.md/#L1
I also develop a client on node.js, later I can lay out a draft version
Beta Was this translation helpful? Give feedback.
All reactions