Hi,
On 2022-02-18 00:09:48 +0300, Daniel Shelepanov wrote:
> I've been examining a floating bug in pg_visibility. To reproduce it, you
> have to:
>
> 1) apply a patch to pg_visibility's tests (you can find it attached)
>
> 2) run test-icx.sh (attached) from the root of the postgresql's source tree
Could you try to minimize the script? A 300 line reproducer is quite long. And
it looks like it won't even work in non postgres-pro tree.
One thing to do would be to modify pg_visibility to elog(PANIC, "something")
when it encounters corruption. Then you would have a chance of inspecting the
state of the tuple/page in that moment.
Greetings,
Andres Freund