添加注册登录功能
This commit is contained in:
@@ -170,8 +170,10 @@ class _PGDialect_common_psycopg(PGDialect):
|
||||
def _do_autocommit(self, connection, value):
|
||||
connection.autocommit = value
|
||||
|
||||
def detect_autocommit_setting(self, dbapi_connection):
|
||||
return bool(dbapi_connection.autocommit)
|
||||
|
||||
def do_ping(self, dbapi_connection):
|
||||
cursor = None
|
||||
before_autocommit = dbapi_connection.autocommit
|
||||
|
||||
if not before_autocommit:
|
||||
|
||||
Reference in New Issue
Block a user