DROP database fails after migrating to 2.9.1 #1367
Unanswered
JulienHoullier
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Don't use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I upgrade from psycopg2 2.8.6 to 2.9.1 and i got a regression in my script which try to DROP a database.
I get back the error about DROP cannot be run into a transaction, which i had fixed by applying
conn.set_isolation_level(ISOLATION_LEVEL_AUTOCOMMIT)
But it seems that it has no effect anymore, even if the doc still says it should.
I prefer using a discussion before creating an issue to ensure it is not my usage which is wrong.
Thanks in advance,
Julien
Beta Was this translation helpful? Give feedback.
All reactions