Skip to content
Snippets Groups Projects
Commit 0cc0d082 authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 07e6f93d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment