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

Simplify connection string configuration #99

Merged
merged 11 commits into from
Dec 10, 2024

Conversation

MetalBlueberry
Copy link
Contributor

@MetalBlueberry MetalBlueberry commented Dec 2, 2024

Instead of implementing custom logic to parse connection string, we can rely on jack/pgx library to parse it for us.

@MetalBlueberry MetalBlueberry force-pushed the vperez/simplify-connection-string-handling branch from ce85138 to c36703e Compare December 3, 2024 14:06
@MetalBlueberry MetalBlueberry marked this pull request as ready for review December 3, 2024 14:34
}

// Overrideable is an interface for defining ways to override PG settings
// outside of the usual manners (through the connection string/URL or env vars).
Copy link
Contributor

Choose a reason for hiding this comment

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

@MetalBlueberry pgx supports both the key=value and URI right? I'm like 99% sure, just want to double check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@MetalBlueberry MetalBlueberry merged commit 0357e2e into main Dec 10, 2024
3 checks passed
@MetalBlueberry MetalBlueberry deleted the vperez/simplify-connection-string-handling branch December 10, 2024 16:09
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