Remove unnecessary BufferGetPage() calls in fsm_vacuum_page().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2b1759e2675fc01d6945c9a5fa65c7d7121212f7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2018-03-29T16:44:19Z
Releases: 11.0
Remove unnecessary BufferGetPage() calls in fsm_vacuum_page().

Just noticed that these were quite redundant, since we're holding the
page address in a local variable anyway, and we have pin on the buffer
throughout.

Also improve a comment.

Files

PathChange+/−
src/backend/storage/freespace/freespace.c modified +4 −3