Re: tsearch filenames unlikes special symbols and numbers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: tsearch filenames unlikes special symbols and numbers
Дата
Msg-id 1692.1188826039@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: tsearch filenames unlikes special symbols and numbers  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: tsearch filenames unlikes special symbols and numbers  (Magnus Hagander <magnus@hagander.net>)
Re: tsearch filenames unlikes special symbols and numbers  (Gregory Stark <stark@enterprisedb.com>)
Re: tsearch filenames unlikes special symbols and numbers  (Mark Mielke <mark@mark.mielke.cc>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Mon, Sep 03, 2007 at 07:47:14AM +0100, Gregory Stark wrote:
>> Actually I think in Windows \ : and . are problems (not allowed more
>> than one dot in dos).

> \ and : are problems.

Is : really a problem, given that the name in question will be appended
to a known directory's path?

> . is not a problem. We don't support 16-bit windows anyway, and multiple
> dots works fine on any system we support.

I'm not convinced that . is issue-free.  On most if not all versions of Unix,
you are allowed to open a directory as a file and read the filenames it
contains.  While I don't say it'd be easy to manage that through
tsearch, there's at least a potential for discovering the filenames
present in . and .. --- how much do we care about that?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: helps required in postgresql and visual basic 6.0
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: tsearch filenames unlikes special symbols and numbers