Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>> None of these are correct. canonicalize_path is only intended for
>> directory names not file names. (I think the same problem applies
>> to several of your GUC variable changes, too.)
> canonicalize_path changes \ to /, and trims the trailing slash.
... and probably breaks the GUC variables that represent search paths,
rather than single file/directory names. Certainly canonicalizing those
values in toto will not have the desired effects; you'd need to
canonicalize the path elements after they are extracted.
regards, tom lane