Strip file names reported in error messages in vpath builds

Peter Eisentraut <peter_e@gmx.net>

Commit: dd136052bcc8281dd3faa77e717cd7cec216f7c7
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-11-30T04:56:18Z
Releases: 9.2.0
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