diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-14 04:41:13 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-14 04:41:13 +0000 |
commit | a9b05bdc8330b378cd2df7910ca0beaa500223fa (patch) | |
tree | 18be88094b6d17df65925023582e84c34bf152db /src/tutorial/funcs.c | |
parent | d1022ce3a1a8b61798028a8fae46e7e458d77cff (diff) | |
download | postgresql-a9b05bdc8330b378cd2df7910ca0beaa500223fa.tar.gz postgresql-a9b05bdc8330b378cd2df7910ca0beaa500223fa.zip |
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.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions