]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix(sql): prefer names without space to cast builtins 264/head
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 20 Mar 2022 22:31:50 +0000 (23:31 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 10 May 2022 17:13:26 +0000 (19:13 +0200)
commit98c3c65a4b4af1d9473b6e73bb52d6b017557372
treea37c52f69e7f3b2c3bb604d6ae727be6df26547a
parentfe8c379cf1b7b188038c87ce310eaec572922004
fix(sql): prefer names without space to cast builtins

Certain types have a regtype with spaces, such as "timestamp with time
zone". Prefer the type short name, in this case ("timestamptz").
psycopg/psycopg/_transform.py
psycopg_c/psycopg_c/_psycopg/transform.pyx
tests/test_sql.py