Thread: pgsql: Strip file names reported in error messages in vpath builds

pgsql: Strip file names reported in error messages in vpath builds

From
Peter Eisentraut
Date:
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.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/81a50686b884632d2e8b18ecb4c70ea2f39178d6

Modified Files
--------------
src/backend/utils/error/elog.c |   18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)