Fix up canonicalize_path to do the right thing in all cases (I think ...

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0d1ebe0194e79c8a211574f61740c4235a1fc30a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-08-12T21:07:53Z
Releases: 8.1.0
Fix up canonicalize_path to do the right thing in all cases (I think ...
this was harder than it seemed at first glance).  Also push code for
checking for ".." in file names into path.c where it belongs.

Files

PathChange+/−
src/backend/utils/adt/genfile.c modified +14 −28
src/include/port.h modified +2 −1
src/port/path.c modified +75 −14