From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Strip file names reported in error messages in vpath builds
Date: Wed, 30 Nov 2011 04:59:19 +0000
Message-ID: <E1RVcGN-0001tT-Jy@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: Strip file names reported in error messages in vpath builds
In-Reply-To: <E1RVcGN-0001tT-Jy@gemulon.postgresql.org>
References: <E1RVcGN-0001tT-Jy@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox