]> granicus.if.org Git - postgresql/commit
In ReadOrZeroBuffer (and related entry points), don't bother to call
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Aug 2008 15:09:04 +0000 (15:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Aug 2008 15:09:04 +0000 (15:09 +0000)
commitd8b04d5fac574d96252230c39a16f651b185661f
treebedf6816f09db907d50c0d2d1653127d1bb8e3c3
parent70d756970b7b2e93e6f807f5c55e2ad7727e212a
In ReadOrZeroBuffer (and related entry points), don't bother to call
PageHeaderIsValid when we zero the buffer instead of reading the page in.
The actual performance improvement is probably marginal since this function
isn't very heavily used, but a cycle saved is a cycle earned.

Zdenek Kotala
src/backend/storage/buffer/bufmgr.c