Fixed an issue while creating RLS Policy with the name having space. Fixes #5620

This commit is contained in:
Akshay Joshi 2020-06-23 14:28:21 +05:30
parent 18b3cc2683
commit d265ed9729

View File

@ -3,7 +3,7 @@
-- DROP POLICY {{ conn|qtIdent(data.name) }} ON {{ conn|qtIdent(data.schema, data.table) }};
CREATE POLICY {{ data.name }}
CREATE POLICY {{ conn|qtIdent(data.name) }}
ON {{conn|qtIdent(data.schema, data.table)}}
{% if data.event %}
FOR {{ data.event|upper }}