Skip to content
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

Fix #87: Binary types support #139

Merged
merged 6 commits into from
Jul 4, 2022
Merged

Fix #87: Binary types support #139

merged 6 commits into from
Jul 4, 2022

Conversation

sitingren
Copy link
Member

@sitingren sitingren commented Jul 4, 2022

Credit to @watercraft 's suggestion in #87

  • When querying BINARY, VARBINARY or LONG VARBINARY data, the returned object type changes from string to []byte. This fix handles escaped backslash \ correctly.
  • When use_prepared_statements=1, query parameter value can be sent as []byte.

@sitingren sitingren merged commit a2b7a80 into vertica:master Jul 4, 2022
@sitingren sitingren deleted the binary branch July 4, 2022 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant