Re: tsearch filenames unlikes special symbols and numbers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: tsearch filenames unlikes special symbols and numbers
Date
Msg-id 1692.1188826039@sss.pgh.pa.us
Whole thread Raw
In response to Re: tsearch filenames unlikes special symbols and numbers  (Magnus Hagander <magnus@hagander.net>)
Responses Re: tsearch filenames unlikes special symbols and numbers
Re: tsearch filenames unlikes special symbols and numbers
Re: tsearch filenames unlikes special symbols and numbers
List 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 by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: helps required in postgresql and visual basic 6.0
Next
From: Magnus Hagander
Date:
Subject: Re: tsearch filenames unlikes special symbols and numbers