Skip to content

[surfacer.postgres] Switch to newer pgx postgres driver - #305

Merged
manugarg merged 4 commits into
masterfrom
postgres
May 13, 2024
Merged

manugarg merged 4 commits into
masterfrom
postgres

Conversation

@manugarg

@manugarg manugarg commented Mar 2, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@manugarg
manugarg marked this pull request as draft March 3, 2023 18:59
@sonarqubecloud

sonarqubecloud Bot commented Apr 2, 2023

Copy link
Copy Markdown

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
0.0% 0.0% Duplication

@markoposavec

Copy link
Copy Markdown
Contributor

Hey!
Is there a plan of merging this?
pgx postgres driver allows setting multiple hosts in connection string which would solve some issues for us 😄

@manugarg

Copy link
Copy Markdown
Contributor Author

Sorry for leaving it without a comment. I didn't merge this because new driver doubles the size of the binary. I'll take another look at it.

@manugarg
manugarg marked this pull request as ready for review May 10, 2024 23:59
@manugarg

Copy link
Copy Markdown
Contributor Author

Sorry for leaving it without a comment. I didn't merge this because new driver doubles the size of the binary. I'll take another look at it.

Binary size increase is only about 8% now. Given the benefits of pgx driver over lib/pq, I'll try merge it soon.

manugarg added 2 commits May 13, 2024 13:52
…trings

by the database driver anyway.

For CopyFrom, db driver simply writes values to the stdout (pipe).
@manugarg
manugarg merged commit d4bfee7 into master May 13, 2024
@manugarg
manugarg deleted the postgres branch May 13, 2024 21:28
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.

2 participants