Re: is_absolute_path incorrect on Windows

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: is_absolute_path incorrect on Windows
Дата
Msg-id 201006012219.o51MJnT18218@momjian.us
обсуждение исходный текст
Ответ на Re: is_absolute_path incorrect on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: is_absolute_path incorrect on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Robert Haas wrote:
> >> Maybe something like is_under_cwd()?
> 
> > Yeah, is_below_cwd?
> 
> 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.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + None of us is going to be here forever. +


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

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