aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_userfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-08-09 20:20:47 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-08-09 20:20:47 +0000
commitb06c90764526ccf291011ecbbcab49ae9729f65a (patch)
treefa8c61fb9f807e58fb098b9d565a698f0fde9fde /src/backend/utils/adt/array_userfuncs.c
parent35f539b481b5524bd331cb7b75df848da51b43e5 (diff)
downloadpostgresql-b06c90764526ccf291011ecbbcab49ae9729f65a.tar.gz
postgresql-b06c90764526ccf291011ecbbcab49ae9729f65a.zip
Path-mangling logic was failing to account for paths containing mentions
of '.' or '..'. Extend canonicalize_path() to trim off trailing occurrences of these things, and use it to fix up paths where needed (which I think is only after places where we trim the last path component, but maybe some others will turn up). Fixes Josh's complaint that './initdb' does not work.
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions