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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/error/elog.c | modified | +10 −0 |
| src/include/utils/elog.h | modified | +2 −1 |