There are extensive comments on this in visibilitymap.c and, in heapam.c, heap_xlog_visible().
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных