Re: [HACKERS] logical decoding of two-phase transactions

From: Ajin Cherian <itsajin(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Peter Smith <smithpb2250(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] logical decoding of two-phase transactions
Date: 2020-11-19 09:22:11
Message-ID: CAFPTHDYdjRQvbMNR6T0j-X1NwmdwU19=P+pnbnOzATfPovywJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Nov 19, 2020 at 5:06 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:

> I think the same check should be there in truncate as well to make the
> APIs consistent and also one can use it for writing another test that
> has a truncate operation.

Updated the checks in both truncate callbacks (stream and non-stream).
Also added a test case for testing concurrent aborts while decoding
streaming TRUNCATE.

regards,
Ajin Cherian
Fujitsu Australia

Attachment Content-Type Size
v23-0004-Support-2PC-txn-spoolfile.patch application/octet-stream 3.9 KB
v23-0003-Support-2PC-test-cases-for-test_decoding.patch application/octet-stream 38.9 KB
v23-0001-Support-2PC-txn-base.patch application/octet-stream 40.8 KB
v23-0002-Support-2PC-txn-backend.patch application/octet-stream 30.2 KB
v23-0006-Support-2PC-txn-subscriber-tests.patch application/octet-stream 60.4 KB
v23-0005-Support-2PC-txn-pgoutput.patch application/octet-stream 21.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2020-11-19 09:25:20 Re: Move OpenSSL random under USE_OPENSSL_RANDOM
Previous Message Peter Eisentraut 2020-11-19 08:44:43 Re: Hash support for row types