You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create_database has a check for engine.driver == 'psycopg2', which it then uses to enable autocommit for the engine, which (AFAIK) avoids an error about trying to issue CREATE DATABASE from within a transaction. Something similar (see zzzeek/sqlalchemy#88) needs to be done for pg8000 to avoid the same issue.
create_database
has a check forengine.driver == 'psycopg2'
, which it then uses to enable autocommit for the engine, which (AFAIK) avoids an error about trying to issue CREATE DATABASE from within a transaction. Something similar (see zzzeek/sqlalchemy#88) needs to be done for pg8000 to avoid the same issue.https://github.com/kvesteri/sqlalchemy-utils/blob/master/sqlalchemy_utils/functions/database.py#L540
The text was updated successfully, but these errors were encountered: