Re: [PATCH] Provide more information to filter_prepare

Markus Wanner <markus.wanner@enterprisedb.com>

From: Markus Wanner <markus.wanner@enterprisedb.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Ajin Cherian <itsajin@gmail.com>
Date: 2021-03-22T08:50:21Z
Lists: pgsql-hackers

Attachments

Hello Amit,

On 21.03.21 11:53, Amit Kapila wrote:
> During a discussion of GID's in the nearby thread [1], it came up that
> the replication solutions might want to generate a different GID based
> on xid for two-phase transactions, so it seems this patch has a
> use-case.

thank you for reconsidering this patch.  I updated it to include the 
required adjustments to the documentation.  Please review.

> Markus, feel free to update the docs, you might want to mention about
> use-case of XID. Also, feel free to add an open item on PG-14 Open
> Items page [2].

Yes, will add.

Regards

Markus

Commits

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