Fixed typos in FTS DICTIONARY node

pull/3/head
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 SELECT
oid, dictname as name oid, dictname as name
FROM FROM
@ -7,7 +7,7 @@ WHERE
{% if scid %} {% if scid %}
dict.dictnamespace = {{scid}}::OID dict.dictnamespace = {{scid}}::OID
{% elif dcid %} {% elif dcid %}
dict.oid = {{pid}}::OID dict.oid = {{dcid}}::OID
{% endif %} {% endif %}
ORDER BY name ORDER BY name

View File

@ -16,7 +16,7 @@ FROM
E'\n);' || E'\n);' ||
CASE CASE
WHEN description IS NOT NULL THEN 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';' E' IS ' || pg_catalog.quote_literal(description) || E';'
ELSE '' END as sql ELSE '' END as sql
FROM FROM