From: Pavel Stehule <pavel.stehule@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ben Tilly <btilly@gmail.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Gregory Stark <stark@enterprisedb.com>
Cc: Oleg Bartunov <oleg@sai.msu.su>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: tsearch filenames unlikes special symbols and numbers
Date: Tue, 4 Sep 2007 07:04:27 +0200
Message-ID: <162867790709032204m1895d36ci78de7d4f4e759655@mail.gmail.com> (raw)
In-Reply-To: <5404.1188864206@sss.pgh.pa.us>
References: <162867790709021328i7771aa9jfe79268bccbf123d@mail.gmail.com>
<Pine.LNX.4.64.0709030113090.2767@sn.sai.msu.ru>
<18259.1188773171@sss.pgh.pa.us>
<87y7foir7t.fsf@oxford.xeocode.com>
<19257.1188777110@sss.pgh.pa.us>
<20070903190302.GD10282@alvh.no-ip.org>
<24214.1188846905@sss.pgh.pa.us>
<acc274b30709031650i5b10de96se8168c6ea27a1a4f@mail.gmail.com>
<5404.1188864206@sss.pgh.pa.us>
2007/9/4, Tom Lane <tgl@sss.pgh.pa.us>:
> "Ben Tilly" <btilly@gmail.com> writes:
> > On 9/3/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> There seems fairly clear use-case for allowing A-Z a-z 0-9 and
> >> underscore (while CVS head rejects 0-9 and underscore).
>
> > The problem with allowing uppercase letters is that on some
> > filesystems foo and Foo are the same file, and on others they are not.
> > This may lead to obscure portability problems where code worked fine
> > on Unix and then fails when the database is running on Windows.
>
> Yeah, good point. So far it seems that a-z 0-9 and underscore cover the
> real use-cases, so what say we just allow those for now? It's a lot
> easier to loosen up later than tighten up ...
>
> regards, tom lane
>
It's system specific. I prefere a-z and A-Z. Clasic name for
dictionaries combine lower and upper characters .. for czech
cs_CZ_UTF8 etc.
dictfile = cs_CZ_UTF8 ... automatic convert to cs_cz_utf8.dict
dictfile = 'cs_CZ_UTF8' .. check and use cs_CZ_UTF8
Regards
Pavel Stehule
p.s. it's important on UNIX platforms and without any efect on windows.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: pavel.stehule@gmail.com, tgl@sss.pgh.pa.us, btilly@gmail.com, alvherre@commandprompt.com, stark@enterprisedb.com, oleg@sai.msu.su, pgsql-hackers@postgresql.org
Subject: Re: tsearch filenames unlikes special symbols and numbers
In-Reply-To: <162867790709032204m1895d36ci78de7d4f4e759655@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox