-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add binary input/output functions #59
Comments
Happy to merge a pull request that adds send and receive functions. I assume that sqlx is unable to handle any types without send and receive, like ltree, yes? |
What would be a good binary format? Something like (in Postgres Message Data Types):
|
The most portable is probably to pack them into a char string, literally the ascii bytes that make up a semver. Might also eventually end up as the internal representation, too (see extensive discussion in #47). |
Yeah, that was the alternative I already had in mind. |
This extension seems to only support text input/output, and lacks binary input/output (receive/send) functions. Binary transfer would make transfer much more efficient on these types of values, and would make the extension usable in a wider range of contexts. For example sqlx which only supports binary transfer. See issue launchbadge/sqlx#1480 and launchbadge/sqlx#1269.
The text was updated successfully, but these errors were encountered: