Peter Eisentraut <peter_e@gmx.net> writes:
> On fre, 2011-11-18 at 09:44 -0500, Tom Lane wrote:
>> It wouldn't be that hard for elog.c to do strrchr(fname, '/') or
>> something like that,
> Here is a patch for that. I would also like to backpatch this.
Hmmm ... is it possible that strrchr could change errno? If so we'd
need to re-order the operations a bit. Otherwise this seems fine.
regards, tom lane