pgsql: Remove some unused and seldom used fields from RelationAmInfo.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove some unused and seldom used fields from RelationAmInfo.
Date: 2013-04-16 12:11:26
Message-ID: E1US4jO-0005aQ-A4@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove some unused and seldom used fields from RelationAmInfo.

This saves some memory from each index relcache entry. At least on a 64-bit
machine, it saves just enough to shrink a typical relcache entry's memory
usage from 2k to 1k. That's nice if you have a lot of backends and a lot of
indexes.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/87ae9e72654ddddf25433b8a178e9268cf03f5b5

Modified Files
--------------
src/backend/access/index/indexam.c | 19 +++++++++++++------
src/include/utils/rel.h | 10 ++--------
2 files changed, 15 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2013-04-16 14:31:04 pgsql: pgindent: add newline to die() so script line number is not rep
Previous Message Peter Eisentraut 2013-04-16 02:39:43 pgsql: Fix function return type confusion