Re: [HACKERS] logical decoding of two-phase transactions - Mailing list pgsql-hackers

From Ajin Cherian
Subject Re: [HACKERS] logical decoding of two-phase transactions
Date
Msg-id CAFPTHDZ0PBY0PTkqWEiScG9Pfdd1VUjDQDXy1ww7W7idfyO_Jg@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] logical decoding of two-phase transactions  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: [HACKERS] logical decoding of two-phase transactions  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
> Why can't we call ReorderBufferCleanupTXN() from
> ReorderBufferFinishPrepared after your changes?
>

Since the truncate already removed the changes, it would fail on the
below Assert in ReorderBufferCleanupTXN()
        /* Check we're not mixing changes from different transactions. */
        Assert(change->txn == txn);

regards.
Ajin Cherian
Fujitsu Australia



pgsql-hackers by date:

Previous
From: Nikolay Shaplov
Date:
Subject: Is deduplicate_items ever used in nbtree?
Next
From: Peter Eisentraut
Date:
Subject: Re: VACUUM PARALLEL option vs. max_parallel_maintenance_workers