On Wed, Apr 1, 2020 at 1:25 PM Robert Haas <robertmh...@gmail.com> wrote: > Maybe that contrib module could even have some functions to simulate > aging without the passage of any real time. Like, say you have a > function or procedure old_snapshot_pretend_time_has_passed(integer), > and it moves oldSnapshotControl->head_timestamp backwards by that > amount. Maybe that would require updating some other fields in > oldSnapshotControl too but it doesn't seem like we'd need to do a > whole lot.
I like that idea. I think that I've spotted what may be an independent bug, but I have to wait around for a minute or two to reproduce it each time. Makes it hard to get to a minimal test case. -- Peter Geoghegan