Question about MVCC caveats

From: Jim Nasby <jnasby(at)upgrade(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Question about MVCC caveats
Date: 2025-11-13 19:30:44
Message-ID: CAMFBP2oW2xRBJZjpjtLJ_hjLM5fMMA7Sv9SigK5XA5XKXpYyWA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

At [1], the docs state that table rewrite ALTERs result in the relation
appearing empty after the ALTER if another transaction had already taken a
snapshot before the ALTER. A simple test with a repeatable read (or
serializable) transaction confirms this... but is there any other situation
where a snapshot would be taken?

1: https://www.postgresql.org/docs/current/mvcc-caveats.html

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2025-11-13 22:10:18 Re: Question about MVCC caveats
Previous Message pg254kl 2025-11-13 15:48:11 Re: Forcing Index usage