Demote some sanity checks in BufferIsValid() to assertions.
Robert Haas <rhaas@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/include/storage/bufmgr.h | modified | +10 −6 |