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

Do not merge: jsonb support #114

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Do not merge: jsonb support #114

wants to merge 2 commits into from

Conversation

marcparadise
Copy link
Member

This repoints us to upstream epgsql for jsonb support, and updates the library for compatibility.

Note that we have our own timeout changes in chef/epgsql-1 that will need to be merged into upstream epgsql before we can move forward with this branch; o r we need to sync chef/epgsql-1 with upstream.

Newer versions of epgsql include jsonb support. Because
this is just a PoC effort for now, we'll point directly
to the upstream - otherwise we need to re-do the request-timeout
change [1], which can only be done safely by re-evaluating the current
state of the connection protocol handling and making the change as a new
change.

We'll tackle that work later, if the PoC pans out.

The only other impact here was that epgsql does not support
the req_timeout option in upstream, so I removed it from
sqerl_pgsql_client too.

[1] chef/epgsql-1@7712ee2

Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
@@ -22,7 +22,7 @@
-module(sqerl_pgsql_client).

-behaviour(sqerl_client).

-compile(export_all).
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for debugging, need to remove

@sonarcloud
Copy link

sonarcloud bot commented May 3, 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 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

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.

None yet

1 participant