Fixed typos in FTS DICTIONARY node

This commit is contained in:
Sanket Mehta 2016-05-10 12:53:36 +05:30 committed by Ashesh Vashi
parent baae12dfcc
commit 817bdd0108
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{# FETCH FTS DICTIONARY name statement #}
{# Fetch FTS DICTIONARY name statement #}
SELECT
oid, dictname as name
FROM
@ -7,7 +7,7 @@ WHERE
{% if scid %}
dict.dictnamespace = {{scid}}::OID
{% elif dcid %}
dict.oid = {{pid}}::OID
dict.oid = {{dcid}}::OID
{% endif %}
ORDER BY name
ORDER BY name

View File

@ -16,7 +16,7 @@ FROM
E'\n);' ||
CASE
WHEN description IS NOT NULL THEN
E'\n\nCOMMENT ON TEXT SEARCH TEMPLATE ' || nspname || E'.' || dict.dictname ||
E'\n\nCOMMENT ON TEXT SEARCH DICTIONARY ' || nspname || E'.' || dict.dictname ||
E' IS ' || pg_catalog.quote_literal(description) || E';'
ELSE '' END as sql
FROM