Re: Old row version in hot chain become visible after a freeze
Jeff Frost <jeff@pgexperts.com>
From: Jeff Frost <jeff@pgexperts.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Michael Paquier <michael.paquier@gmail.com>,
Peter Geoghegan <pg@bowt.ie>,
"Wood, Dan" <hexpert@amazon.com>,
"pgsql-bugs@postgresql.org" <pgsql-bugs@postgresql.org>,
Andres Freund <andres@anarazel.de>
Date: 2017-09-07T04:45:45Z
Lists: pgsql-bugs
> On Sep 6, 2017, at 8:23 PM, Jeff Frost <jeff@pgexperts.com> wrote: > > > Any idea on how to identify affected rows on a running system? I guess better questions would be: Is it as simple as: SELECT id, count(*) FROM foo GROUP BY id HAVING count(*) > 1; Maybe also need to: set enable_indexscan = 0; set enable_indexonlyscan = 0; before running the SELECT? Is it possible to affect a DELETE or does it need to be a HOT updated row?
Commits
-
Fix freezing of a dead HOT-updated tuple
- fb6de78a291b 9.5.10 landed
- d149aa762c05 9.3.20 landed
- 46c35116ae1a 10.0 landed
- 3a135bdb1b5e 9.6.6 landed
- 232c7cbcbbc6 9.4.15 landed
- 20b655224249 11.0 landed
-
Fix potential data corruption during freeze
- 31b8db8e6c1f 10.0 cited
-
Clarify the contract of partition_rbound_cmp().
- f1dae097f294 10.0 cited