RE: BUG #16481: Stored Procedure Triggered by Logical Replication isUnable to use Notification Events - Mailing list pgsql-hackers

From Vianello Fabio
Subject RE: BUG #16481: Stored Procedure Triggered by Logical Replication isUnable to use Notification Events
Date
Msg-id AM6PR06MB6168062FDC18F2574DCDBBB493820@AM6PR06MB6168.eurprd06.prod.outlook.com
Whole thread Raw
Responses Re: BUG #16481: Stored Procedure Triggered by Logical Replication isUnable to use Notification Events
Re: BUG #16481: Stored Procedure Triggered by Logical Replication isUnable to use Notification Events
List pgsql-hackers

Is PostgreSQL a serious product? For me the answer is "NO". A product with a bug that last for years and the community knows.

It is not serious.

 

BR,

Fabio.

 

From: Euler Taveira [mailto:euler.taveira@2ndquadrant.com]
Sent: lunedì 8 giugno 2020 12:51
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: Vianello Fabio <fabio.vianello@salvagninigroup.com>; pgsql-bugs@lists.postgresql.org; PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: BUG #16481: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events

 

On Mon, 8 Jun 2020 at 05:27, Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote:


That can be fixed by calling ProcessCompletedNotifies() in
apply_handle_commit. The function has a code to write out
notifications to connected clients but it doesn't nothing on logical
replication workers.

 

This bug was already reported some time ago (#15293) but it slipped through the
cracks. I don't think you should simply call ProcessCompletedNotifies [1].

 

 

 

--

Euler Taveira                 http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 400; font-display: swap; src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v8/o-0IIpQlx3QUlC5A4PNr5TRA.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
SALVAGNINI ITALIA S.p.A.
Via Guido Salvagnini, 51 - IT - 36040 Sarego (VI)
T. +39 0444 725111 | F. +39 0444 43 6404
Società a socio unico - Attività direz. e coord.: Salvagnini Holding S.p.A.
Clicca qui per le informazioni societarie
salvagninigroup.com | salvagnini.it


Le informazioni trasmesse sono destinate esclusivamente alla persona o alla società in indirizzo e sono da intendersi confidenziali e riservate. Ogni trasmissione, inoltro, diffusione o altro uso di queste informazioni a persone o società differenti dal destinatario è proibita. Se avete ricevuto questa comunicazione per errore, per favore contattate il mittente e cancellate le informazioni da ogni computer. Questa casella di posta elettronica è riservata esclusivamente all’invio ed alla ricezione di messaggi aziendali inerenti all’attività lavorativa e non è previsto né autorizzato l’utilizzo per fini personali. Pertanto i messaggi in uscita e quelli di risposta in entrata verranno trattati quali messaggi aziendali e soggetti alla ordinaria gestione disposta con proprio disciplinare dall’azienda e, di conseguenza, eventualmente anche alla lettura da parte di persone diverse dall’intestatario della casella.

Any information herein transmitted only concerns the person or the company named in the address and is deemed to be confidential. It is strictly forbidden to transmit, post, forward or otherwise use said information to anyone other than the recipient. If you have received this message by mistake, please contact the sender and delete any relevant information from your computer. This mailbox is only meant for sending and receiving messages pertaining business matters and any other use for personal purposes is forbidden and unauthorized. Therefore, any email sent and received will be handled as ordinary business messages and subject to the company's own rules, and may thus be read also by people other than the user named in the mailbox address.

pgsql-hackers by date:

Previous
From: Andy Fan
Date:
Subject: Re: A wrong index choose issue because of inaccurate statistics
Next
From: Tom Lane
Date:
Subject: Re: Add -Wold-style-definition to CFLAGS?