Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Use dbname instead of database for Postgres config. #16618

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Conversation

clokep
Copy link
Member

@clokep clokep commented Nov 9, 2023

According to the psycopg2 docs the connection should use dbname:

dbname – the database name (database is a deprecated alias)

I don't think we need to do mapping or anything in the config since we document this as drive-specific configuration.

This was taken from my psycopg3 branch, which requires using dbname.

@DMRobertson
Copy link
Contributor

I don't think we need to do mapping or anything in the config since we document this as drive-specific configuration.

Though we probably would(?) want to do this in the future if we drop support for psycopg2.

@clokep
Copy link
Member Author

clokep commented Nov 9, 2023

I don't think we need to do mapping or anything in the config since we document this as drive-specific configuration.

Though we probably would(?) want to do this in the future if we drop support for psycopg2.

I'm expecting people to opt into psycopg(3) so they would need the appropriate configuration for that anyway.

@clokep clokep marked this pull request as ready for review November 9, 2023 19:39
@clokep clokep requested a review from a team as a code owner November 9, 2023 19:39
@clokep clokep merged commit bc4372a into develop Nov 9, 2023
34 checks passed
@clokep clokep deleted the clokep/dbname branch November 9, 2023 19:40
remram44 added a commit to remram44/matrix-helm that referenced this pull request Nov 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants