Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Yep, it is a bug on 8.0.X. Are you suggesting a backpatch? We can do
> it. Any objections?
I think he's suggesting that we depend on GetFullPathName(), which seems
a bit pointless considering we have to write the code anyway for other
platforms.
I didn't much like the patch as-is; we should think a little harder
about fixing the logic properly.
regards, tom lane