Adjust creation/destruction of TupleDesc data structure to reduce the
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Mar 2005 04:42:17 +0000 (04:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Mar 2005 04:42:17 +0000 (04:42 +0000)
commita52b4fb1313cbd367d765a2a8704a63709cbbd5d
tree8638ca814a9e96e1873cd77070d2ef6238cd461c
parente3d7de6b995a33ee5b6205c6e4fd4078b103af45
Adjust creation/destruction of TupleDesc data structure to reduce the
number of palloc calls.  This has a salutory impact on plpgsql operations
with record variables (which create and destroy tupdescs constantly)
and probably helps a bit in some other cases too.
src/backend/access/common/tupdesc.c
src/backend/catalog/index.c
src/backend/utils/cache/relcache.c
src/include/access/tupdesc.h