pgsql: Allow emit_log_hook to see original message text

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow emit_log_hook to see original message text
Date: 2016-03-11 09:53:57
Message-ID: E1aeJld-0005J0-La@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow emit_log_hook to see original message text

emit_log_hook could only see the translated text, making it harder to identify
which message was being sent. Pass original text to allow the exact message to
be identified, whichever language is used for logging.

Discussion: 20160216(dot)184755(dot)59721141(dot)horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp
Author: Kyotaro Horiguchi

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/73e7e49da3b23a15cd84f003e11ad7d55ad80da7

Modified Files
--------------
src/backend/utils/error/elog.c | 10 ++++++++++
src/include/utils/elog.h | 3 ++-
2 files changed, 12 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2016-03-11 10:16:00 pgsql: Refactor receivelog.c parameters
Previous Message Michael Paquier 2016-03-11 05:05:10 Re: pgsql: Don't vacuum all-frozen pages.