]> granicus.if.org Git - postgresql/commit
Remove some unused and seldom used fields from RelationAmInfo.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 16 Apr 2013 12:01:21 +0000 (15:01 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 16 Apr 2013 12:07:58 +0000 (15:07 +0300)
commit87ae9e72654ddddf25433b8a178e9268cf03f5b5
treec81224ef14cc967c41bd0976e5bc5dbf19f7234b
parentc74d586d2fc8aeaa303d8c60a8a9d959fdc5e791
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.
src/backend/access/index/indexam.c
src/include/utils/rel.h