Skip to content

Conversation

V02460
Copy link
Contributor

@V02460 V02460 commented Aug 25, 2025

Loads the the PostgreSQL passfile on apply_pgpass and defers querying the password to get_password calls. This ensures the correct password is retrieved, even when builder methods are called on PgConnectOptions after initialization.

Does your PR solve an issue?

Fixes #2658

Is this a breaking change?

Yes. Parameters set by PgConnectOptions builder methods are now honored by the passfile lookup.

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.

pgpass doesn't work with builder methods
1 participant