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

Does Pony support GaussDB? #732

Open
Michael-chent opened this issue Nov 12, 2024 · 1 comment
Open

Does Pony support GaussDB? #732

Michael-chent opened this issue Nov 12, 2024 · 1 comment

Comments

@Michael-chent
Copy link

I want to use Pony connect to GaussDB,May I ask if adaptation is required? Is it possible to use only the psycopg2 driver? Is there any risk involved?
If you know,please tell me.
thanks a lot.

@Michael-chent
Copy link
Author

I used psycopg2 connect to GaussDB,I have a error in pony/orm/dbproviders/postgres.py line 183:
cursor.execute('DISCARD ALL')
Because GaussDB doesn't support this syntax:> DISCARD ALL
Can I delete postgres.py line 183?
please help me,thanks!

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