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
chore: avoid using PGPASSFILE environment variable #3522
Conversation
❗ By default, the pull request is configured to backport to all release branches.
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
8c1eb3b
to
1a7f2dd
Compare
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
I love this! |
We don't need to set the PGPASSFILE environment variable anymore since jackc/pgx is correctly handling the `passfile` connection string option. This patch removes the code doing that. Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
6c8bb7d
to
ce81f1e
Compare
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
/test limit=local |
@litaocdl, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/7176484665 |
/ok-to-merge |
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
This patch removed the PGPASSFILE environment variable since jackc/pgx is correctly handling the `passfile` connection string option. See also #2386 Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> (cherry picked from commit d6e427b)
This patch removed the PGPASSFILE environment variable since jackc/pgx is correctly handling the `passfile` connection string option. See also #2386 Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> (cherry picked from commit d6e427b)
We don't need to set the PGPASSFILE environment variable anymore since jackc/pgx is correctly handling the
passfile
connection string option.This patch removes the code doing that.
See also #2386