pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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-0001tW-LV@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_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/75b61836940aaa81f3073c7e77f8c295d99093ae

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



view thread (7+ messages)  latest in thread

Message-ID: <E1RVcGN-0001tW-LV@gemulon.postgresql.org>
Permalink:  ../E1RVcGN-0001tW-LV@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1RVcGN-0001tW-LV@gemulon.postgresql.org

 · 

reply

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-0001tW-LV@gemulon.postgresql.org>
  References: <E1RVcGN-0001tW-LV@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