]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix(composite): pass the entire info object to the custom functions 1222/head
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 30 Nov 2025 23:27:01 +0000 (00:27 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 1 Dec 2025 02:04:25 +0000 (03:04 +0100)
commitfdda4d13cb86c77af4335ff7a013e66350cc6e4d
tree419599ee9aa5fcd1363df3af88862e3d1fe2600d
parent5262402e753af6a38b571de8f59841d3e98fae4a
fix(composite): pass the entire info object to the custom functions

Previously we were passing only the names, but it is conceivable that
types might be useful too.

Make the info object hashable in order to use it with the @cache
decorator.
docs/basic/pgtypes.rst
psycopg/psycopg/types/composite.py
tests/types/test_composite.py