pgsql: Strip file names reported in error messages in vpath builds - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Strip file names reported in error messages in vpath builds
Date
Msg-id E1RVcGN-0001tb-P6@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/74f02254c5c2b8f0bca49ed482b1c82899290ca5

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


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Strip file names reported in error messages in vpath builds
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Strip file names reported in error messages in vpath builds