]> granicus.if.org Git - postgresql/commit
Remove unnecessary BufferGetPage() calls in fsm_vacuum_page().
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Mar 2018 16:44:19 +0000 (12:44 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Mar 2018 16:44:19 +0000 (12:44 -0400)
commit2b1759e2675fc01d6945c9a5fa65c7d7121212f7
tree2f6492f365b542e75b5131d8ca4e6a5864661890
parenta063baaced273e955e088ba5979dcc6ec5cd92e6
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.
src/backend/storage/freespace/freespace.c