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

Add postgresql+psycopg as allowed scheme for PostgreDsn #4690

Merged
merged 1 commit into from Oct 31, 2022
Merged

Add postgresql+psycopg as allowed scheme for PostgreDsn #4690

merged 1 commit into from Oct 31, 2022

Conversation

morian
Copy link
Contributor

@morian morian commented Oct 30, 2022

Merge request for #4689.

Support is limited to PostgreDsn for now.
CockroachDsn was introduced in pydantic by #3830 based on what was supported by sqlalchemy-cockroachdb.
This project does not show any sign of support for psycopg3 so far, so this was not included in this patch.

@samuelcolvin samuelcolvin changed the title Add postgresql+psycopg as allowed scheme for PostgreDsn (#4689) Add postgresql+psycopg as allowed scheme for PostgreDsn Oct 31, 2022
@samuelcolvin samuelcolvin merged commit 5dd9b4f into pydantic:main Oct 31, 2022
@samuelcolvin
Copy link
Member

I've also cherry picked this onto the v1.10 branch.

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.

None yet

2 participants