diff --git a/web/pgadmin/tools/debugger/templates/debugger/sql/execute_plpgsql.sql b/web/pgadmin/tools/debugger/templates/debugger/sql/execute_plpgsql.sql index e096703..b82578b 100644 --- a/web/pgadmin/tools/debugger/templates/debugger/sql/execute_plpgsql.sql +++ b/web/pgadmin/tools/debugger/templates/debugger/sql/execute_plpgsql.sql @@ -9,7 +9,7 @@ {% if data %} {% for dict_item in data %} {% if 'type' in dict_item and 'value' in dict_item %} -{% if dict_item['type'] == 'text' and dict_item['value'] != 'NULL' %} +{% if dict_item['value'] != 'NULL' %} {{ dict_item['value']|qtLiteral }}::{{ dict_item['type'] }}{% if not loop.last %}, {% endif %} {% elif dict_item['value'] == 'NULL' %} {{ dict_item['value'] }}::{{ dict_item['type'] }}{% if not loop.last %}, {% endif %}