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

Use dbname instead of database for Postgres config.#16618

Merged
clokep merged 2 commits intodevelopfrom
clokep/dbname
Nov 9, 2023
Merged

Use dbname instead of database for Postgres config.#16618
clokep merged 2 commits intodevelopfrom
clokep/dbname

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
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