summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-11-02 08:39:39 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-11-02 08:39:39 -0400
commit7249fa4a51f20c6c62ba94241900600023662bdb (patch)
tree9d99b9098030a915d1f60cb8d1ed39a7e4a08050 /lib/sqlalchemy/dialects/postgresql/base.py
parent66f3533de86506327c753c1ea80b121692535745 (diff)
downloadsqlalchemy-7249fa4a51f20c6c62ba94241900600023662bdb.tar.gz
fix event name
Change-Id: I26af2326034be07f0ebc91dfbf31d00c40acf585 References: #8717
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py
index 482e36594..a908ed6b7 100644
--- a/lib/sqlalchemy/dialects/postgresql/base.py
+++ b/lib/sqlalchemy/dialects/postgresql/base.py
@@ -277,7 +277,7 @@ will remain consistent with the state of the transaction::
@event.listens_for(postgresql_engine, "reset")
- def _reset_mssql(dbapi_connection, connection_record, reset_state):
+ def _reset_postgresql(dbapi_connection, connection_record, reset_state):
if not reset_state.terminate_only:
dbapi_connection.execute("CLOSE ALL")
dbapi_connection.execute("RESET ALL")