Allow emit_log_hook to see original message text

Simon Riggs <simon@2ndQuadrant.com>

Commit: 73e7e49da3b23a15cd84f003e11ad7d55ad80da7
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2016-03-11T09:53:06Z
Releases: 9.6.0
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

Files

PathChange+/−
src/backend/utils/error/elog.c modified +10 −0
src/include/utils/elog.h modified +2 −1