Jeff Janes <jeff(dot)janes(at)gmail(dot)com> writes:
> As it is currently, it is not clear what purpose nonempty_pages serves.
It's to allow an early exit at vacuumlazy.c:271 in case there is no chance
of deleting a useful number of pages.
regards, tom lane