]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix event name
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Nov 2022 12:39:39 +0000 (08:39 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Nov 2022 12:39:39 +0000 (08:39 -0400)
Change-Id: I26af2326034be07f0ebc91dfbf31d00c40acf585
References: #8717

lib/sqlalchemy/dialects/postgresql/base.py

index 482e36594a3cfd3498369f7cb830b4e513de2ddc..a908ed6b787013682d599ac6f409311a511e0985 100644 (file)
@@ -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")