Re: is_absolute_path incorrect on Windows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: is_absolute_path incorrect on Windows
Дата
Msg-id 10591.1275431678@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: is_absolute_path incorrect on Windows  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: is_absolute_path incorrect on Windows  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> Hm.  Neither of these obviously exclude the case of an absolute path
>> that happens to lead to cwd.  I'm not sure how important that is,
>> but still ...

> We currently do that with path_is_prefix_of_path().  Maybe that needs to
> be called as well.

I think you misunderstood my point: in the places where we're insisting
on a relative path, I don't think we *want* an absolute path to be
accepted.  What I was trying to say is that these proposed function
names don't obviously mean "a relative path that does not try to
break out of cwd".
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: is_absolute_path incorrect on Windows
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: is_absolute_path incorrect on Windows