pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Wanner <markus.wanner@enterprisedb.com>
To: vignesh C <vignesh21@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Ajin Cherian <itsajin@gmail.com>
Subject: Re: [PATCH] Provide more information to filter_prepare
Date: Mon, 29 Mar 2021 12:52:01 +0200
Message-ID: <b4ccd487-ce47-9134-5423-44dcffd1fafe@enterprisedb.com> (raw)
In-Reply-To: <CALDaNm0BmTEvq94FQh8+33UcyM=uo_gpXTq9Fo+Kcktwxf=qjg@mail.gmail.com>
References: <ee280000-7355-c4dc-e47b-2436e7be959c@enterprisedb.com>
	<CAA4eK1JZkvN3G+aeQJuk1RdUczRZ3vUoF0mMFNS+S8g2gF8fQA@mail.gmail.com>
	<fd63284b-14fa-051a-fa51-e6999e8f4502@enterprisedb.com>
	<CAA4eK1L2amuh4Rzm-OSBTYBTvgjOk=8RZGDUuPnKLmqawt5FnQ@mail.gmail.com>
	<CAA4eK1LrZic4fBe4srM7HU2detDPytSovahtEdA8TVt3DNqx1w@mail.gmail.com>
	<6f322b21-cbb8-5f9a-b2aa-30323a6ab604@enterprisedb.com>
	<722e7841-f4fa-dddd-4466-990fcada5d78@enterprisedb.com>
	<CAA4eK1JzSf0sZ_yHAOHBfdEFytqdX=Jb8XN6gUiLDPx8Ud55sQ@mail.gmail.com>
	<CAA4eK1KdVg0h0_trfBYReU8NVSeL9SGPPXnuuMDHUzNs7C5t7w@mail.gmail.com>
	<590e0d87-8a7d-9310-ff6d-b484f15522d0@enterprisedb.com>
	<CAA4eK1+LE1DoUBRj6_XJOiWX_Tyx4s86a7ghgOjG3-ssq9xhkw@mail.gmail.com>
	<86f51dc5-a667-c22d-4644-f5fa7ce97f98@enterprisedb.com>
	<CAA4eK1JLECUY6rQOgs5bdzFy7BHkrqo1SskyBH+V9h2LwYkzcw@mail.gmail.com>
	<93326387-bc98-a9e3-f684-a02fef142da7@enterprisedb.com>
	<CALDaNm0BmTEvq94FQh8+33UcyM=uo_gpXTq9Fo+Kcktwxf=qjg@mail.gmail.com>

On 29.03.21 12:18, vignesh C wrote:
> But in prepare_filter_cb callback, by stating "other systems ..." it is 
> not very clear who will change theĀ GID. Are we referring to 
> publisher/subscriber decoding?

Thanks for your feedback.  This is not about GIDs at all, but just about 
identifying a transaction.  I'm out of ideas on how else to phrase that. 
  Any suggestion?

Maybe we should not try to give examples and reference other systems, 
but just leave it at:

      The <parameter>ctx</parameter> parameter has the same contents as for
      the other callbacks. The parameters <parameter>xid</parameter>
      and <parameter>gid</parameter> provide two different ways to identify
      the transaction.  The later <command>COMMIT PREPARED</command> or
      <command>ROLLBACK PREPARED</command> carries both identifiers,
      providing an output plugin the choice of what to use.

That is sufficient an explanation in my opinion.   What do you think?

Regards

Markus





view thread (26+ messages)  latest in thread

Message-ID: <b4ccd487-ce47-9134-5423-44dcffd1fafe@enterprisedb.com>
Permalink:  ../b4ccd487-ce47-9134-5423-44dcffd1fafe@enterprisedb.com/
Also on:    postgresql.org/message-id/b4ccd487-ce47-9134-5423-44dcffd1fafe@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: markus.wanner@enterprisedb.com, vignesh21@gmail.com, amit.kapila16@gmail.com, itsajin@gmail.com
  Subject: Re: [PATCH] Provide more information to filter_prepare
  In-Reply-To: <b4ccd487-ce47-9134-5423-44dcffd1fafe@enterprisedb.com>
  References: <ee280000-7355-c4dc-e47b-2436e7be959c@enterprisedb.com> <fd63284b-14fa-051a-fa51-e6999e8f4502@enterprisedb.com> <CAA4eK1L2amuh4Rzm-OSBTYBTvgjOk=8RZGDUuPnKLmqawt5FnQ@mail.gmail.com> <CAA4eK1LrZic4fBe4srM7HU2detDPytSovahtEdA8TVt3DNqx1w@mail.gmail.com> <6f322b21-cbb8-5f9a-b2aa-30323a6ab604@enterprisedb.com> <722e7841-f4fa-dddd-4466-990fcada5d78@enterprisedb.com> <CAA4eK1JzSf0sZ_yHAOHBfdEFytqdX=Jb8XN6gUiLDPx8Ud55sQ@mail.gmail.com> <CAA4eK1KdVg0h0_trfBYReU8NVSeL9SGPPXnuuMDHUzNs7C5t7w@mail.gmail.com> <590e0d87-8a7d-9310-ff6d-b484f15522d0@enterprisedb.com> <CAA4eK1+LE1DoUBRj6_XJOiWX_Tyx4s86a7ghgOjG3-ssq9xhkw@mail.gmail.com> <86f51dc5-a667-c22d-4644-f5fa7ce97f98@enterprisedb.com> <CAA4eK1JLECUY6rQOgs5bdzFy7BHkrqo1SskyBH+V9h2LwYkzcw@mail.gmail.com> <93326387-bc98-a9e3-f684-a02fef142da7@enterprisedb.com> <CALDaNm0BmTEvq94FQh8+33UcyM=uo_gpXTq9Fo+Kcktwxf=qjg@mail.gmail.com> <b4ccd487-ce47-9134-5423-44dcffd1fafe@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox