Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> On 2026-Apr-04, Antonin Houska wrote:
>
> > I agree that the global variable is not handy, but instead of modifying
> > CreateInitDecodingContext(), how about adding a boolean returning callback to
> > OutputPluginCallbacks? The point is that whether shared catalogs are needed
> > during the decoding or not is actually property of the plugin.
>
> Oh, yeah, that sounds good to me.
This is it. New callback was actually not needed, I just added a new flag to
the OutputPluginOptions structure.
--
Antonin Houska
Web: https://www.cybertec-postgresql.com