Strip file names reported in error messages in vpath builds

Peter Eisentraut <peter_e@gmx.net>

Commit: 75b61836940aaa81f3073c7e77f8c295d99093ae
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-11-29T21:51:28Z
Releases: 9.0.6
Strip file names reported in error messages in vpath builds

In vpath builds, the __FILE__ macro that is used in verbose error
reports contains the full absolute file name, which makes the error
messages excessively verbose.  So keep only the base name, thus
matching the behavior of non-vpath builds.

Files

PathChange+/−
src/backend/utils/error/elog.c modified +16 −2