]> git.ipfire.org Git - thirdparty/psycopg.git/commit
The function to maintain prepared statements is no more a generator
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 25 Dec 2020 14:20:23 +0000 (15:20 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 25 Dec 2020 14:20:23 +0000 (15:20 +0100)
commitd0d332fe32463cf3459146858b6975da2f344424
treeccd3b40a7dc0144991e3a55ede691694a180b0bf
parentd0aebb60fea0355b690b870f629ee39b015744bd
The function to maintain prepared statements is no more a generator

Just generate the necessary statements, yield will happen only if
necessary.
psycopg3/psycopg3/cursor.py