Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> I wonder if calling RelationGetNumberOfBlocks on every seq scan becomes
> a performance issue for tiny tables with for example just 1 page. It
> performs an lseek, which isn't free.
We do that anyway; but certainly Simon's patch ought not be injecting
an additional one.
regards, tom lane