pgsql: Remove some unused and seldom used fields from RelationAmInfo. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Remove some unused and seldom used fields from RelationAmInfo.
Date
Msg-id E1US4jO-0005aQ-A4@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix function return type confusion
Next
From: Bruce Momjian
Date:
Subject: pgsql: pgindent: add newline to die() so script line number is not rep