pgsql: pgstattuple: Use a BufferAccessStrategy object to avoid cache-tr

Lists: pgsql-committers
From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pgstattuple: Use a BufferAccessStrategy object to avoid cache-tr
Date: 2012-03-13 13:51:54
Message-ID: E1S7S8o-00060K-EM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

pgstattuple: Use a BufferAccessStrategy object to avoid cache-trashing.

Jaime Casanova, reviewed by Noah Misch, slightly modified by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2e46bf67114586835f4a9908f1a1f08ee8ba83a8

Modified Files
--------------
contrib/pgstattuple/pgstatindex.c | 5 ++-
contrib/pgstattuple/pgstattuple.c | 42 +++++++++++++++++++++++++-----------
2 files changed, 32 insertions(+), 15 deletions(-)