]> granicus.if.org Git - postgresql/commit
Demote some sanity checks in BufferIsValid() to assertions.
authorRobert Haas <rhaas@postgresql.org>
Fri, 28 Oct 2011 21:04:22 +0000 (17:04 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 28 Oct 2011 21:04:22 +0000 (17:04 -0400)
commitb6335a3f1b33e5dc52e755956d8648f0813252c4
tree3694b29254c92b401f94aa44f8669745e17822fd
parentdeb15803249883db031c6cc8af104b575f7809ad
Demote some sanity checks in BufferIsValid() to assertions.

Testing reveals that this macro is a hot-spot for index-only-scans.
Per discussion with Tom Lane.
src/include/storage/bufmgr.h