pgsql: Allow emit_log_hook to see original message text - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Allow emit_log_hook to see original message text
Date
Msg-id E1aeJld-0005J0-La@gemulon.postgresql.org
Whole thread Raw
List 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.184755.59721141.horiguchi.kyotaro@lab.ntt.co.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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Don't vacuum all-frozen pages.
Next
From: Magnus Hagander
Date:
Subject: pgsql: Refactor receivelog.c parameters