Fix and improve SnapshotType comments. The comment for SNAPSHOT_SELF was unfortunately explaining SNAPSHOT_DIRTY, as reported by Sergei. Also expand a few comments, and include a few more comments from heapam_visibility.c, so they're in an AM independent place.
Reported-By: Sergei Kornilov Author: Andres Freund Discussion: https://postgr.es/m/9152241558192...@sas1-d856b3d759c7.qloud-c.yandex.net Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/78d6a9cbd3438969ac87b9f1aaf0f07226636ed7 Modified Files -------------- src/include/utils/snapshot.h | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-)