Re: Log prefix missing for subscriber log messages received from publisher - Mailing list pgsql-hackers

From vignesh C
Subject Re: Log prefix missing for subscriber log messages received from publisher
Date
Msg-id CALDaNm0amt_LqYMuW4QiCcE2qgUB1g602pkOurGKFn0kof7=fQ@mail.gmail.com
Whole thread Raw
In response to Re: Log prefix missing for subscriber log messages received from publisher  (Álvaro Herrera <alvherre@kurilemu.de>)
Responses Re: Log prefix missing for subscriber log messages received from publisher
List pgsql-hackers
On Thu, 17 Jul 2025 at 11:18, Álvaro Herrera <alvherre@kurilemu.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

pgsql-hackers by date:

Previous
From: Nazir Bilal Yavuz
Date:
Subject: Re: Windows question: when is LC_MESSAGES defined?
Next
From: Dave Page
Date:
Subject: Re: Windows question: when is LC_MESSAGES defined?