]> git.ipfire.org Git - thirdparty/psycopg.git/commit
No need to store a generic c encoder
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 14 May 2020 19:51:32 +0000 (07:51 +1200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 17 May 2020 09:29:34 +0000 (21:29 +1200)
commita5f9a65aed35b1a978bc8f61d7efb9e4220468b1
treea697639e27bb4db5ec28e487abfe5d6c04393975
parent2163eb8aeff09608fe677b046861713805a37311
No need to store a generic c encoder

The only one we care about is utf-8, the only other available is ascii,
but in case of ascii we don't decode and return the bytes.
psycopg3/types/text.pyx