Andres Freund <andres(at)anarazel(dot)de> writes:
> Not quite - that was about the DML callbacks, this is about the scan itself. And while we have a snapshot allocated, the analyze version of the beginscan intentionally doesn't take a snapshot.
Uh, what? That's a *huge* regression. See, eg, 7170268ef. We
really want ANALYZE to act as though it's reading a normal MVCC
snapshot.
regards, tom lane