Replace typtoout() and gettypelem() with a single routine,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d03e98737c5aec12332bbbaf12abe2e2642048c4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-01-24T05:40:49Z
Releases: 7.1.1
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.

Files