git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 70d7569) | patch
In ReadOrZeroBuffer (and related entry points), don't bother to call
Tue, 5 Aug 2008 15:09:04 +0000 (15:09 +0000)
Tue, 5 Aug 2008 15:09:04 +0000 (15:09 +0000)
commit d8b04d5fac574d96252230c39a16f651b185661f
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 diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /