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

CompositeType support for pg8000 and psycopg3 #712

Open
wwuck opened this issue Jul 12, 2023 · 1 comment
Open

CompositeType support for pg8000 and psycopg3 #712

wwuck opened this issue Jul 12, 2023 · 1 comment

Comments

@wwuck
Copy link

wwuck commented Jul 12, 2023

I’m not sure if this is similar or identical to #575 but I can currently see that CompositeType support currently requires psycopg2. Is there any chance of including support for pg8000 and psycopg3?

In pg8000 it looks like composite types are mapped as a tuple in python.

https://github.com/tlocke/pg8000#type-mapping

@wwuck
Copy link
Author

wwuck commented Jul 12, 2023

Psycopg 3 docs for this are at https://www.psycopg.org/psycopg3/docs/basic/pgtypes.html

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

No branches or pull requests

1 participant