Re: [PATCH] Provide more information to filter_prepare

Amit Kapila <amit.kapila16@gmail.com>

From: Amit Kapila <amit.kapila16@gmail.com>
To: Markus Wanner <markus.wanner@enterprisedb.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Ajin Cherian <itsajin@gmail.com>
Date: 2021-03-10T10:18:47Z
Lists: pgsql-hackers
On Tue, Mar 9, 2021 at 2:14 PM Markus Wanner
<markus.wanner@enterprisedb.com> wrote:
>
> Hi,
>
> currently, only the gid is passed on to the filter_prepare callback.
> While we probably should not pass a full ReorderBufferTXN (as we do for
> most other output plugin callbacks), a bit more information would be
> nice, I think.
>

How the proposed 'xid' parameter can be useful? What exactly plugins
want to do with it?

-- 
With Regards,
Amit Kapila.



Commits

  1. Add a xid argument to the filter_prepare callback for output plugins.