]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Register arrays using the TypeInfo object
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 6 Feb 2021 03:14:43 +0000 (04:14 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 7 Feb 2021 01:37:17 +0000 (02:37 +0100)
commit57860e0591103c971f65366538fd6adc27498de8
tree47f61a0cfd53137f5afcf9a6304948d08f67d210
parent6a3455e85b03c089bfbfaa299f07fba7a933f7e2
Register arrays using the TypeInfo object

TypeInfo and subclasses implementations moved together to a dedicated module,
sharing more uniform interface and implementation.
12 files changed:
psycopg3/psycopg3/adapt.py
psycopg3/psycopg3/oids.py
psycopg3/psycopg3/typeinfo.py [new file with mode: 0644]
psycopg3/psycopg3/types/__init__.py
psycopg3/psycopg3/types/array.py
psycopg3/psycopg3/types/composite.py
psycopg3/psycopg3/types/range.py
psycopg3_c/psycopg3_c/_psycopg3/oids.pxd
tests/types/test_array.py
tests/types/test_composite.py
tests/types/test_range.py
tools/update_oids.py