]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: fix ambiguous query to fetch enum details
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 22 May 2022 00:10:22 +0000 (02:10 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 24 May 2022 08:58:15 +0000 (10:58 +0200)
commit2358fae57505021818e2119e3d705da14e6cb502
tree174219ff00d7e1c54e1f16c866eb39293fa0c842
parentadbc6fbe2b6b46d604751279f92e2d39530e8fb1
fix: fix ambiguous query to fetch enum details

The previous query happened to work, but was relying on a joined table
to maintain the order, which is not a documented behaviour.
psycopg/psycopg/_typeinfo.py