pgsql: Demote some sanity checks in BufferIsValid() to assertions. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Demote some sanity checks in BufferIsValid() to assertions.
Date
Msg-id E1RJtcV-0003JY-73@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b6335a3f1b33e5dc52e755956d8648f0813252c4

Modified Files
--------------
src/include/storage/bufmgr.h |   16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Remove hard-coded "\connect postgres" from pg_dumpall.
Next
From: Robert Haas
Date:
Subject: pgsql: Allow hint bits to be set sooner for temporary and unlogged tabl