pgsql: Fix an oversight in ReorderBufferFinishPrepared.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix an oversight in ReorderBufferFinishPrepared.
Date: 2021-02-23 04:28:36
Message-ID: E1lEPJM-0006ho-Hu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix an oversight in ReorderBufferFinishPrepared.

We don't have anything to decode in a transaction if ReorderBufferTXN
doesn't exist by the time we decode the commit prepared. So don't create a
new ReorderBufferTXN here. This is an oversight in commit a271a1b5.

Reported-by: Markus Wanner
Discussion: https://postgr.es/m/dbec82e2-dbd7-95a2-c6b6-e488cbbdf853@bluegap.ch

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ade89ba5f408e6034db7cc8a2c9b7858f5a214c4

Modified Files
--------------
src/backend/replication/logical/reorderbuffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2021-02-23 06:03:12 Re: pgsql: pg_collation_actual_version() -> pg_collation_current_version().
Previous Message Amit Kapila 2021-02-23 03:49:38 pgsql: Change the error message for logical replication authentication