Re: tsearch filenames unlikes special symbols and numbers

Поиск
Список
Период
Сортировка
От Trevor Talbot
Тема Re: tsearch filenames unlikes special symbols and numbers
Дата
Msg-id 90bce5730709030026j6b055e0j453dd691ab139eee@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tsearch filenames unlikes special symbols and numbers  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
On 9/2/07, Gregory Stark <stark@enterprisedb.com> wrote:

> Right, traditionally the only characters forbidden in filenames in Unix are /
> and nul. If we want the files to play nice in Gnome etc then we should
> restrict them to ascii since we don't know what encoding the gui expects.
>
> Actually I think in Windows \ : and . are problems (not allowed more than one
> dot in dos).

Reserved characters in Windows filenames are < > : " / \ | ? *
DOS limitations aren't relevant on the OS versions Postgres supports.

...but I thought this was about opening existing files, not creating
them, in which case the only relevant limitation is path separators.
Any other reserved characters are going to result in no open file,
rather than a security hole.


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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: integrated tsearch has different results than tsearch2
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [pgsql-www] \dF wrt text search