pgsql: Document that get_attstatsslot/free_attstatsslot only need to be - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Document that get_attstatsslot/free_attstatsslot only need to be
Date
Msg-id 20051011172714.DD00FD6F2D@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        selfuncs.c (r1.189 -> r1.190)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/selfuncs.c.diff?r1=1.189&r2=1.190)
    pgsql/src/backend/utils/cache:
        lsyscache.c (r1.127 -> r1.128)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/lsyscache.c.diff?r1=1.127&r2=1.128)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix oversight in 8.0 modification of RestrictInfo data
Next
From: aglio@pgfoundry.org (User Aglio)
Date:
Subject: press - pr: New Directory