Tom Lane wrote: > Bruce Momjian <[email protected]> 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 <[email protected]> http://momjian.us EnterpriseDB http://enterprisedb.com + None of us is going to be here forever. + -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
