From: | vignesh C <vignesh21(at)gmail(dot)com> |
---|---|
To: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
Cc: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Log prefix missing for subscriber log messages received from publisher |
Date: | 2025-07-17 08:05:27 |
Message-ID: | CALDaNm0amt_LqYMuW4QiCcE2qgUB1g602pkOurGKFn0kof7=fQ@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, 17 Jul 2025 at 11:18, Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote:
>
> Hi,
>
> Shouldn't we be using a notice receiver rather than a notice processor?
I saw the following comment in code regarding PQsetNoticeProcessor
should be deprecated:
/*
* The default notice message receiver just gets the standard notice text
* and sends it to the notice processor. This two-level setup exists
* mostly for backwards compatibility; perhaps we should deprecate use of
* PQsetNoticeProcessor?
*/
So I changed it to PQsetNoticeReceiver. The attached v5 version patch
has the changes for the same.
Regards,
Vignesh
Attachment | Content-Type | Size |
---|---|---|
v5-0001-Add-custom-PQsetNoticeReceiver-handlers-for-repli.patch | text/x-patch | 2.5 KB |
v5-0003-Add-custom-PQsetNoticeReceiver-handlers-for-remot.patch | text/x-patch | 2.2 KB |
v5-0002-Add-custom-PQsetNoticeReceiver-handlers-for-remot.patch | text/x-patch | 2.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2025-07-17 08:19:47 | Re: Windows question: when is LC_MESSAGES defined? |
Previous Message | Nazir Bilal Yavuz | 2025-07-17 08:01:35 | Re: Windows question: when is LC_MESSAGES defined? |