]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Remove prepared statement maintenance command out of the normal loop
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 17 Nov 2021 14:26:43 +0000 (15:26 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 29 Nov 2021 10:53:18 +0000 (11:53 +0100)
commitbfabe88aba4769e0a44206e1ace7c299991a957d
tree886185c2f072bfdd35244ee9a7512d22e169cec9
parentc955059ac8f40d4a2dbad6d376935c2675b74b7f
Remove prepared statement maintenance command out of the normal loop

Accumulate the maintenance commands in the state of the prepared
processor manager and decide when to process them.
psycopg/psycopg/_preparing.py
psycopg/psycopg/connection.py
psycopg/psycopg/cursor.py
psycopg/psycopg/transaction.py