Correct for malformed query generated when using custom type. Fixes #2544

This commit is contained in:
Harshal Dhumal 2017-07-17 11:14:34 +01:00 committed by Dave Page
parent 059d671af5
commit 3942461c50

View File

@ -13,7 +13,7 @@ time({{ type_length }}) with time zone{% endif %}{% if is_type_array %}
{###### Need to check against separate time types - END ######}
{#############################################################}
{% else %}
{{ conn|qtTypeIdent(type_name) }}{% if type_length %}
{{ type_name }}{% if type_length %}
({{ type_length }}{% if type_precision%}, {{ type_precision }}{% endif %}){% endif %}{% if is_type_array %}
[]{% endif %}
{% endif %}