]> granicus.if.org Git - postgresql/commit
Allow emit_log_hook to see original message text
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 11 Mar 2016 09:53:06 +0000 (09:53 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 11 Mar 2016 09:53:06 +0000 (09:53 +0000)
commit73e7e49da3b23a15cd84f003e11ad7d55ad80da7
tree620324e097a9e3540bfd13a2af81fd5325075a1a
parenta414d96ad2b001cddf10e3dedb0bde96d0af6a0b
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
src/backend/utils/error/elog.c
src/include/utils/elog.h