pgsql: Allow emit_log_hook to see original message text
pgsql: Allow emit_log_hook to see original message text
От:
Simon Riggs <simon@2ndQuadrant.com>
Дата:
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(-)