Hi, Tomas! > > I think we'd want pg_upgrade tests showing an example of each SLRU > growing past one segment, and then being upgraded, and then being > accessed in various different pages and segment files, so that we can > see that we're able to shift the data to the right place successfully. > For example I think I'd want to see that a single aborted transaction > surrounded by many committed transactions shows up in the right place > after an upgrade.
Can you elaborate a bit on how to implement this test. I've searched for some automated pg_upgrade tests but didn't found one. Should it be one-time test script or something "make check-world"-able? Best regards, Andrey Borodin.