]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Add libpq interface for pipeline mode
authorDenis Laxalde <denis.laxalde@dalibo.com>
Tue, 22 Jun 2021 14:07:47 +0000 (16:07 +0200)
committerDenis Laxalde <denis.laxalde@dalibo.com>
Fri, 1 Oct 2021 14:32:09 +0000 (16:32 +0200)
commit515e246b5f933ba93fdde93a03287c6940dbf85b
tree0ff1fd32d732e792fd42e684b5d4b3b00cfa5b91
parentce86d8051dd532cd6664f7bfdda5a0e781ef0b6d
Add libpq interface for pipeline mode

Bindings are conditional so that compilation works with libpq version
older than 14.

Add a couple of tests inspired by PostgreSQL's tests.
psycopg/psycopg/pq/__init__.py
psycopg/psycopg/pq/_enums.py
psycopg/psycopg/pq/_pq_ctypes.py
psycopg/psycopg/pq/_pq_ctypes.pyi
psycopg/psycopg/pq/abc.py
psycopg/psycopg/pq/pq_ctypes.py
psycopg_c/psycopg_c/pq/libpq.pxd
psycopg_c/psycopg_c/pq/pgconn.pyx
tests/pq/test_pipeline.py [new file with mode: 0644]