Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: tsearch in core patch


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
  • Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Hannu Krosing <hannu(at)skype(dot)net>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
  • Subject: Re: tsearch in core patch
  • Date: Fri, 22 Jun 2007 10:28:37 -0400
  • Message-id: <21775(dot)1182522517(at)sss(dot)pgh(dot)pa(dot)us>

Teodor Sigaev <teodor(at)sigaev(dot)ru> writes:
>> I don't think we are going to do language selection automatically ---
>> the user is going to have to set tsearch_conf_name.

> Are you suggest to remove long-lived feature of tsearch? In that case we don't 
> need cfglocale (or cfglanguage as Tom suggested) and cfgdefault columns in 
> pg_ts_cfg at all. Just set up tsearch_conf_name.

Is the point here for initdb to be able to establish a sane default
initially?  Seems to me it can guess the language from the first
component of the locale (ru_RU -> russian).

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group