diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-11 17:27:14 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-11 17:27:14 +0000 |
commit | 0cc0d0822ddf8e76ed3b7d16ad500762b2ed43dd (patch) | |
tree | 77705c6620adbec650660defb4ad56eb65ceeb47 /src/backend/access/gist/gistget.c | |
parent | 07e6f93d6b41aaacaf5d2bf758f52ef37f0a6e5b (diff) | |
download | postgresql-0cc0d0822ddf8e76ed3b7d16ad500762b2ed43dd.tar.gz postgresql-0cc0d0822ddf8e76ed3b7d16ad500762b2ed43dd.zip |
Document that get_attstatsslot/free_attstatsslot only need to be passed
valid type information if they are asked to fetch the values part of a
pg_statistic slot; these arguments are unneeded if fetching only the
numbers part. Use this to save a catcache lookup in btcostestimate,
which is looking like a bit of a hotspot in recent profiling. Not a
big savings, but since it's essentially free, might as well do it.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions