pgsql: Demote some sanity checks in BufferIsValid() to assertions.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Demote some sanity checks in BufferIsValid() to assertions.
Date: 2011-10-28 21:05:43
Message-ID: E1RJtcV-0003JY-73@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-10-28 21:13:08 pgsql: Allow hint bits to be set sooner for temporary and unlogged tabl
Previous Message Robert Haas 2011-10-28 19:50:52 pgsql: Remove hard-coded "\connect postgres" from pg_dumpall.