Re: Visibility bug with prepared transaction with subtransactions on standby

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Konstantin Knizhnik <knizhnik@neon.tech>
Date: 2024-06-20T14:10:17Z
Lists: pgsql-hackers

Attachments

On 20/06/2024 16:41, Heikki Linnakangas wrote:
> Attached is a patch to fix this, with a test case.

The patch did not compile, thanks to a last-minute change in a field 
name. Here's a fixed version.

-- 
Heikki Linnakangas
Neon (https://neon.tech)

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Make 009_twophase.pl test pass with recovery_min_apply_delay set

  2. Fix MVCC bug with prepared xact with subxacts on standby

  3. Rework handling of subtransactions in 2PC recovery