Re: Identifying a message in emit_log_hook. - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Identifying a message in emit_log_hook.
Date
Msg-id CANP8+jLbGE_YbxULgZXvce44oOB8V0T93e5_inHvBDE2PXkSOw@mail.gmail.com
Whole thread Raw
In response to Re: Identifying a message in emit_log_hook.  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Responses Re: Identifying a message in emit_log_hook.
List pgsql-hackers
On 17 February 2016 at 08:34, Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> wrote:

> I'm guessing this would require making the pre-translated error text
> available to plugins as well as translated form.

If I understand you correctly, edata->messgage_id in my patch is
just what offers the pre-translated error text to plugins.

OK, now I understand the patch, I am happy to apply it.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

pgsql-hackers by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Identifying a message in emit_log_hook.
Next
From: Craig Ringer
Date:
Subject: Re: pglogical - logical replication contrib module