Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.sai.msu.su/~megera/postgres/fts/doc/sql-fts-comment.html
Дата изменения: Unknown
Дата индексирования: Sun Apr 13 07:50:25 2008
Кодировка:
COMMENT ON FULLTEXT

COMMENT ON FULLTEXT

Name

COMMENT ON FULLTEXT  -- define or change the comment of a full-text object

Synopsis

COMMENT ON FULLTEXT { CONFIGURATION | DICTIONARY | PARSER }  objname IS text;
  

Description

COMMENT ON FULLTEXT stores a comment about a full-text object (configuration, dictionary, parser).

To modify a comment, issue a new COMMENT ON FULLTEXT command for the same full-text object. Only one comment string is stored for each object. To remove a comment, write NULL in place of the text string. Comments are automatically dropped when the object is dropped.

Parameters

objname

The name (optionally schema-qualified) of the full-text object.

text

The new comment, written as a string literal; or NULL to drop the comment.

Examples

=# COMMENT ON FULLTEXT DICTIONARY intdict IS 'Dictionary for integers';
=# \dFd+ intdict
                                      List of fulltext dictionaries
 Schema |  Name   |  Init method  |  Lexize method  |       Init options        |       Description
--------+---------+---------------+-----------------+---------------------------+-------------------------
 public | intdict | dinit_intdict | dlexize_intdict | MAXLEN=6,REJECTLONG=false | Dictionary for integers