From 3942461c502854aa4075da48dd7dea0570df25f5 Mon Sep 17 00:00:00 2001 From: Harshal Dhumal Date: Mon, 17 Jul 2017 11:14:34 +0100 Subject: [PATCH] Correct for malformed query generated when using custom type. Fixes #2544 --- .../types/templates/type/macros/get_full_type_sql_format.macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/types/templates/type/macros/get_full_type_sql_format.macros b/web/pgadmin/browser/server_groups/servers/databases/schemas/types/templates/type/macros/get_full_type_sql_format.macros index 4b9c0e968..c3f77079f 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/types/templates/type/macros/get_full_type_sql_format.macros +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/types/templates/type/macros/get_full_type_sql_format.macros @@ -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 %}