Fix and improve SnapshotType comments.

Andres Freund <andres@anarazel.de>

Commit: 78d6a9cbd3438969ac87b9f1aaf0f07226636ed7
Author: Andres Freund <andres@anarazel.de>
Date: 2019-05-19T23:18:44Z
Releases: 12.0
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/9152241558192351@sas1-d856b3d759c7.qloud-c.yandex.net

Files

PathChange+/−
src/include/utils/snapshot.h modified +24 −5

Discussion