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

Support Postgres BYTEA as array type #2113

Merged
merged 1 commit into from
Sep 28, 2022
Merged

Conversation

hgschmie
Copy link
Contributor

Add an explicit array type that creates the postgres internal BYTEA format so that the driver is willing to write arrays. Fixes #2109, workaround for the problem in pgjdbc/pgjdbc#2630

@pingw33n, if would help me if you can test if this would solve your problem.

Add an explicit array type that creates the postgres internal BYTEA
format so that the driver is willing to write arrays. Fixes jdbi#2109,
workaround for the problem in
pgjdbc/pgjdbc#2630
@sonarcloud
Copy link

sonarcloud bot commented Sep 28, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@hgschmie hgschmie merged commit 5e617ff into jdbi:master Sep 28, 2022
@hgschmie hgschmie deleted the postgres-bytea branch September 28, 2022 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

bindArray doesn't work for bytea[] in Postgres
2 participants