| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
| Cc: | Patches <pgsql-patches(at)postgresql(dot)org> |
| Subject: | Re: tsearch core path, v0.58 |
| Date: | 2007-07-31 01:33:34 |
| Message-ID: | 200707310133.l6V1XYo13700@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gregory Stark | 2007-07-31 14:46:20 | Re: HOT latest patch - version 8 |
| Previous Message | Bruce Momjian | 2007-07-31 00:30:34 | Re: tsearch core path, v0.58 |