Re: Snapshot export on a standby corrupts hint bits on subxact overflow

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: bertranddrouvotpg(at)gmail(dot)com
Cc: pg(at)bowt(dot)ie, pgsql-hackers(at)lists(dot)postgresql(dot)org, andres(at)anarazel(dot)de, scott(at)scottray(dot)io
Subject: Re: Snapshot export on a standby corrupts hint bits on subxact overflow
Date: 2026-12-05 17:51:02
Message-ID: CAGRkXqTFZCGQyxrZMTpV2XYFdWRKkRPcdXbvebQn_yc5zjkOag@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Bertrand,

0002 seems to have stalled after 0001 went in as 79b101486c1, and a
user already hit this on pgsql-general in 2023 [1]. On today's master a
standby returns 665:667: while xid 665 is still running on the primary,
and pg_visible_in_snapshot() says true. With your v2-0002 it returns
665:667:665 and false, the same as the primary.

Would you be up for a rebase so it cango in?
[1]
https://postgr.es/m/CAE7ByhjsN4SkdQsk6Z2M+zJQi7NsmS7SjNW9acG1Sk0wco0s+g@mail.gmail.com
Thanks,
Shihao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2026-12-05 18:02:53 Re: Making type Datum be 8 bytes everywhere
Previous Message Kacper Kuras 2026-12-05 16:47:43 Re: Proposal: SELECT * EXCLUDE (...) command