-
Notifications
You must be signed in to change notification settings - Fork 1
Switch to pgx, add SSL/cert and GSSAPI auth support #4
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
80e2ea7
feat: switch PostgreSQL driver from lib/pq to pgx
vyruss feace1b
feat: default sslmode to prefer, refactor ConnectionString with quoting
vyruss 81e68cc
feat: add SSL certificate auth parameters (sslcert, sslkey, sslrootcert)
vyruss 0b07b82
docs: add SSL flags, env vars, and authentication methods
vyruss e78b29c
test: add certificate auth integration test (scenario 5)
vyruss 19f51ac
test: add GSSAPI/Kerberos integration test (scenario 6)
vyruss da60c1a
fix: bump Go to 1.24.13
vyruss 7caa815
fix: replace sleep with pg_isready loops in CI test scripts
vyruss 52d52a2
fix: skip SSL validation when --skip-postgres is set
vyruss c73418c
docs: use consistent single-dash flag notation
vyruss File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,16 @@ | ||
| module radar | ||
|
|
||
| go 1.24 | ||
| go 1.24.13 | ||
|
|
||
| require github.com/lib/pq v1.10.9 | ||
| require ( | ||
| github.com/DATA-DOG/go-sqlmock v1.5.2 | ||
| github.com/jackc/pgx/v5 v5.8.0 | ||
| ) | ||
|
|
||
| require github.com/DATA-DOG/go-sqlmock v1.5.2 | ||
| require ( | ||
| github.com/jackc/pgpassfile v1.0.0 // indirect | ||
| github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect | ||
| github.com/jackc/puddle/v2 v2.2.2 // indirect | ||
| golang.org/x/sync v0.17.0 // indirect | ||
| golang.org/x/text v0.29.0 // indirect | ||
| ) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.