Strip file names reported in error messages in vpath builds

Peter Eisentraut <peter_e@gmx.net>

Commit: fe0fa1f9b403a84f25b163a02e8676119e37b097
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-11-29T21:58:03Z
Releases: 8.4.10
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