summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeGroup.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-12-23 22:34:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-12-23 22:34:33 +0000
commit988fe9f7dde7d9b260343c518e80039ce479d870 (patch)
treef3e9fefb9e3a3c19bc7b6c7b7182e9e25e3fb72d /src/backend/executor/nodeGroup.c
parentfaefc812f8aa41c4875520640db0c4e6d5c2edca (diff)
Fix make_relative_path() to support cases where target_path and bin_path
differ by more than the last directory component. Instead of insisting that they match up to the last component, accept whatever common prefix they have, and try to replace the non-matching part of bin_path with the non-matching part of target_path in the actual executable's path. In one way this is tighter than the old code, because it insists on a match to the part of bin_path we want to substitute for, rather than blindly stripping one directory component from the executable's path. Per gripe from Martin Pitt and subsequent discussion.
Diffstat (limited to 'src/backend/executor/nodeGroup.c')
0 files changed, 0 insertions, 0 deletions