]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix(sql): fetch correct type names in TypeInfo subclasses
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 20 Mar 2022 15:07:56 +0000 (16:07 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 10 May 2022 17:13:26 +0000 (19:13 +0200)
commitb895859ee9058c6cc32889479f311073603e6a53
tree36322d07b9802dba58001d3025180520602278ca
parentbb69e60fc1711815111265b7022ab53dcb9134bb
fix(sql): fetch correct type names in TypeInfo subclasses

Needed to fix `Literal.as_string()` of types using a `TypeInfo` subclass
to fetch info (composite, range, multirange).
psycopg/psycopg/_typeinfo.py
tests/types/test_composite.py
tests/types/test_multirange.py
tests/types/test_range.py