Hello
Seems table_beginscan_analyze (src/include/access/tableam.h) should not pass second argument as NULL.
CC'ing Andres Freund
PS: also I noticed in src/include/utils/snapshot.h exactly same comment for both SNAPSHOT_SELF and SNAPSHOT_DIRTY - they have no difference?
regards, Sergei