RE: pgoutput: schema cache cleanup after streamed 2PC - Mailing list pgsql-hackers

From Hayato Kuroda (Fujitsu)
Subject RE: pgoutput: schema cache cleanup after streamed 2PC
Date
Msg-id TYRPR01MB12845905E17A5541EA74184B6F5B82@TYRPR01MB12845.jpnprd01.prod.outlook.com
Whole thread
In response to pgoutput: schema cache cleanup after streamed 2PC  (Ayush Tiwari <ayushtiwari.slg01@gmail.com>)
Responses Re: pgoutput: schema cache cleanup after streamed 2PC
List pgsql-hackers
Hi Ayush,

> The attached patch adds the same cleanup to those two callbacks, guarded
> by rbtxn_is_streamed(txn). Is there a reason to keep these entries once
> the prepared transaction has finished?

Sorry if it's a stupid question. Why can't we put in pgoutput_stream_prepare_txn()?
It may be able to avoid checking by rbtxn_is_streamed(txn).

Best regards,
Hayato Kuroda
FUJITSU LIMITED


pgsql-hackers by date:

Previous
From: Henson Choi
Date:
Subject: Re: [SQL/PGQ] Native executor for Graph query
Next
From: Ajit Awekar
Date:
Subject: Re: Continuous re-validation of session credentials