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

Separate server and client passwords optionally #407

Merged
merged 2 commits into from
Apr 18, 2023
Merged

Conversation

levkk
Copy link
Contributor

@levkk levkk commented Apr 18, 2023

Features

Add server_username and server_password to the user config to allow to connect with different username and password to Postgres. I'm adding this because I'd like to create two pools using the same Postgres username and password, one in session mode and the other in transaction mode.

This is optional and default behavior is the same as before, to use the client username and password to connect.

Bug fixes

Maybe fix the C message from the client not being supported. I'm not entirely sure how Close works, and if the client expects a reply immediately or after S.

Add missing requirements.txt to the toml config docs generator.

@levkk levkk requested review from drdrsh and magec April 18, 2023 16:48
@levkk levkk changed the title Separate server and user passwords Separate server and client passwords Apr 18, 2023
@levkk levkk changed the title Separate server and client passwords Separate server and client passwords optionally Apr 18, 2023
@levkk levkk merged commit 3dae3d0 into main Apr 18, 2023
@levkk levkk deleted the levkk-session-close branch April 18, 2023 16:57
CONFIG.md Show resolved Hide resolved
@levkk levkk mentioned this pull request Apr 19, 2023
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