]> granicus.if.org Git - postgresql/commit
Replace typtoout() and gettypelem() with a single routine,
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 24 Jan 1999 05:40:49 +0000 (05:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 24 Jan 1999 05:40:49 +0000 (05:40 +0000)
commitd03e98737c5aec12332bbbaf12abe2e2642048c4
tree21f1014417e0ffa0fed7d560615a584e18ebffa9
parent77f54282441584f539186d1e9054544f89e0e9b4
Replace typtoout() and gettypelem() with a single routine,
so that fetching an attribute value needs only one SearchSysCacheTuple call
instead of two redundant searches.  This speeds up a large SELECT by about
ten percent, and probably will help GROUP BY and SELECT DISTINCT too.
src/backend/access/common/printtup.c
src/backend/executor/nodeGroup.c
src/backend/executor/nodeUnique.c
src/backend/executor/spi.c
src/backend/libpq/be-dumpdata.c
src/include/access/printtup.h