Avoid O(N^2) overhead in repeated nocachegetattr calls when columns of

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

Commit: a9b05bdc8330b378cd2df7910ca0beaa500223fa
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-03-14T04:41:13Z
Releases: 8.1.0
Avoid O(N^2) overhead in repeated nocachegetattr calls when columns of
a tuple are being accessed via ExecEvalVar and the attcacheoff shortcut
isn't usable (due to nulls and/or varlena columns).  To do this, cache
Datums extracted from a tuple in the associated TupleTableSlot.
Also some code cleanup in and around the TupleTable handling.
Atsushi Ogawa with some kibitzing by Tom Lane.

Files