aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-10-11 17:27:14 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-10-11 17:27:14 +0000
commit0cc0d0822ddf8e76ed3b7d16ad500762b2ed43dd (patch)
tree77705c6620adbec650660defb4ad56eb65ceeb47 /src/backend/access/gist/gistutil.c
parent07e6f93d6b41aaacaf5d2bf758f52ef37f0a6e5b (diff)
downloadpostgresql-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/gistutil.c')
0 files changed, 0 insertions, 0 deletions