]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Don't deal with the python-level connection in C adapters
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 7 Jan 2021 23:07:56 +0000 (00:07 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 8 Jan 2021 01:32:29 +0000 (02:32 +0100)
commitdc702fb95a803cd5e8314952d269127984be3be1
treeb843895890eb2e9c92ab229d0973716984122a54
parent0a3cc351490373fd8086fbfab43838f880a27ea2
Don't deal with the python-level connection in C adapters

Use the libpq-level connection to shed some overhead.
psycopg3_c/psycopg3_c/_psycopg3/adapt.pyx
psycopg3_c/psycopg3_c/_psycopg3/transform.pyx
psycopg3_c/psycopg3_c/types/text.pyx