]> git.ipfire.org Git - thirdparty/psycopg.git/commit
feat: use version() as __build_version__ for pq python implementation
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 15 Aug 2022 11:41:01 +0000 (13:41 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 15 Aug 2022 13:41:04 +0000 (15:41 +0200)
commite847fda09c5f73a201dbdd9b7b69daeeae3b2cd5
treecba3497a730a7eca7477389b3438da39086ce420
parent59a0221bea753b966fecca92d7ae76c2d56d755e
feat: use version() as __build_version__ for pq python implementation

Having __build_version__ to be null makes version checking needlessly
convoluted and version() has to be used anyway as fallback.
psycopg/psycopg/_pipeline.py
psycopg/psycopg/pq/__init__.py
psycopg/psycopg/pq/pq_ctypes.py
tests/fix_pq.py
tests/pq/test_pq.py