Re: tsearch in core patch - Mailing list pgsql-hackers

From teodor@sigaev.ru
Subject Re: tsearch in core patch
Date
Msg-id 1189.91.76.165.155.1182529215.squirrel@mail.sigaev.ru
Whole thread Raw
In response to Re: tsearch in core patch  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: tsearch in core patch
List pgsql-hackers
> Why not do it the other way around?
> es_ES        spanish
> Spanish_Spain    spanish
> ru_RU        russian
> pt_BR        portuguese_brazil
>
> That way you don't need any funny index.  Or do you need the list of
> locales for each language? (but even if you do, you can easily obtain it
> by indexing both columns separately using btrees anyway)

Yes, that's possible but that icreases number of identical configuration:
russian_win     Russian_Russia
russian_unix    ru_RU

They doesn't differ except locale name.



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: tsearch in core patch
Next
From: teodor@sigaev.ru
Date:
Subject: [Fwd: Re: tsearch in core patch]