ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> Here is a trivial fix of locking issue in pgstattuple().
Hmm, is this really a bug, and if so how far back does it go?
I'm thinking that having a pin on the buffer should be enough to
call PageGetHeapFreeSpace.
regards, tom lane