I proposed a simple representation format as a basis for discussion. Nevertheless, the VM pages has no more structure than a simple bit string. Given the VM info in pg_freespacemap, I've come in doubt of the necessity of vm_page_contnets() for the reason besides the orthogonality in the this extension's interface (which paid no attention before:-).
I don't think that will be needed, now I understand.
- How about pgstattuple?
It could even be said to be meaningful to add the number of not-all-visible pages or the ratio of it in the total pages..