pgsql: Add "Reason code" prefix to internal SSI error messages

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add "Reason code" prefix to internal SSI error messages
Date: 2011-08-15 12:25:31
Message-ID: E1QswEV-0003MN-JX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add "Reason code" prefix to internal SSI error messages

This makes it clearer that the error message is perhaps not supposed
to be understood by users, and it also makes it somewhat clearer that
it was not accidentally omitted from translation.

Idea from Heikki Linnakangas, except that we don't mark "Reason code"
for translation at this point, because that would make the
implementation too cumbersome.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e5475a80d2fd1b99a7939a81a44b746821287a06

Modified Files
--------------
src/backend/storage/lmgr/predicate.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2011-08-15 12:25:39 pgsql: Add "Reason code" prefix to internal SSI error messages
Previous Message Tom Lane 2011-08-14 19:41:00 pgsql: Fix unsafe order of operations in foreign-table DDL commands.