
Bonvic retweeted
I wrote about who contributed to Postgres 19.
theconsensus.dev/p/2026/11/2…
Bonvic retweeted
In Postgres active transactions is not the same as active snapshots. That was a point of confusing to me for a while.
You can have a transaction id 50 and that can create rows and delete rows marking tuples with its id 50.
However every query that transaction executes gets a snapshot (assume read committed) , that snapshot is made out of whatever last active transaction at that point + 1 which could be transaction 1007 (snapshot also includes other things but id skip for now)
that snapshot 1007 can see all rows created and committed by all tx below 1007
which mean you can have a tuple created by 1006 that is committed, not only transaction 50 can see that row but it can also delete it .
In that case, you get tuples where xmin is larger than xmax.
xmin 1006 and xmax 50 in this case
Bonvic retweeted
Replying to @b0nvic
No age is too big for a first tattoo 😄 Expect a little sting, a lot of buzzing, and wanting a second one right after



























