Fix issue renaming FTS Parser.
parent
e09aa90614
commit
b47577390a
|
@ -2,7 +2,7 @@
|
|||
{% if data %}
|
||||
{% if data.name and data.name != o_data.name %}
|
||||
ALTER TEXT SEARCH PARSER {{conn|qtIdent(o_data.schema)}}.{{conn|qtIdent(o_data.name)}}
|
||||
RENAME TO {{data.name}};
|
||||
RENAME TO {{conn|qtIdent(data.name)}};
|
||||
{% endif %}
|
||||
|
||||
{#in case of rename, use new fts template name #}
|
||||
|
@ -19,4 +19,4 @@ ALTER TEXT SEARCH PARSER {{conn|qtIdent(o_data.schema)}}.{{conn|qtIdent(name)}}
|
|||
COMMENT ON TEXT SEARCH PARSER {{conn|qtIdent(o_data.schema)}}.{{conn|qtIdent(name)}}
|
||||
IS {{ data.description|qtLiteral }};
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue