Fix an oversight in ReorderBufferFinishPrepared.
Amit Kapila <akapila@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/reorderbuffer.c | modified | +1 −1 |
Discussion
- Re: [HACKERS] logical decoding of two-phase transactions 424 messages · 2018-08-01 → 2022-01-05