Re: tsearch core path, v0.58

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: tsearch core path, v0.58
Дата
Msg-id 200707310133.l6V1XYo13700@momjian.us
обсуждение исходный текст
Ответ на tsearch core path, v0.58  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-patches
Teodor Sigaev wrote:
> http://www.sigaev.ru/misc/tsearch_core-0.58.gz
>
> Changes since 0.52 version:
>
> 1) Introduce dictionary's template which contains only methods of dictionary and
> can be managed only by superuser.
> CREATE TEXT SEARCH DICTIONARY dictname
>      TEMPLATE  dicttmplname
>      [OPTION  opt_text ]
> ;
>
> CREATE TEXT SEARCH DICTIONARY TEMPLATE dicttmplname
>      LEXIZE  lexize_function
>      [INIT  init_function ]
> ;

I am finding the above syntax confusing.  If TEMPLATE appears before the
dictionary name, it is a template, but after, it is using a template.
Can we use a different word instead of TEMPLATE, and have a USING clause
to reference the template?

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: tsearch core path, v0.58
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: HOT latest patch - version 8