At the very end of :
https://www.postgresql.org/docs/devel/tableam.html
it mentions the path 'src/backend/heap/heapam_handler.c ' which I believeshould be 'src/backend/access/heap/heapam_handler.c '
-Michel