Re: tsearch filenames unlikes special symbols and numbers

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Ben Tilly" <btilly(at)gmail(dot)com>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "Gregory Stark" <stark(at)enterprisedb(dot)com>, "Oleg Bartunov" <oleg(at)sai(dot)msu(dot)su>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tsearch filenames unlikes special symbols and numbers
Date: 2007-09-04 15:18:16
Message-ID: 162867790709040818w6ca6d30fi3f9b18db45b86dac@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

2007/9/4, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> writes:
> > 2007/9/4, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> >> 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 ...
>
> > 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.
>
> You're going to need to alter that habit anyway, because it's not
> appropriate to mention any specific encoding in the dictionary name.
>
> But on further thought it strikes me that insisting on all lower case
> doesn't eliminate case-sensitivity portability problems. For instance,
> suppose the given parameter is 'foo' and the actual file name is
> Foo.dict. This will work fine on Windows and will stop working when
> moved to Unix. So I'm not sure we really buy much by rejecting
> upper-case letters in the parameter --- all we do is constrain which
> side of the fence you have to fix any mismatches on. And we picked the
> side that only a DBA, rather than a plain SQL user, can fix.
>

ok. I can understand it. But I don't see sense of quoting of params

Regards
Pavel Stehule

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Ben Tilly 2007-09-04 15:38:28 Re: tsearch filenames unlikes special symbols and numbers
Previous Message Peter Eisentraut 2007-09-04 15:04:08 Re: Code examples

Browse pgsql-hackers by date

  From Date Subject
Next Message korry.douglas 2007-09-04 15:20:24 Re: Has anyone tried out the PL/pgSQL debugger?
Previous Message Pavel Stehule 2007-09-04 15:15:11 Re: Has anyone tried out the PL/pgSQL debugger?