diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-01-16 13:28:30 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-01-16 13:28:30 -0500 |
commit | 779fdcdeeeb9cdbfd271f8dc5bde76ed0c7b0813 (patch) | |
tree | 0e909dc966a3dece21d861e4cb841c61da832ca7 /src/backend/commands/explain.c | |
parent | f5ae3ba4828ece02bae2d16b4cbce847fbcea850 (diff) | |
download | postgresql-779fdcdeeeb9cdbfd271f8dc5bde76ed0c7b0813.tar.gz postgresql-779fdcdeeeb9cdbfd271f8dc5bde76ed0c7b0813.zip |
Improve new caching logic in tbm_add_tuples().
For no significant extra complexity, we can cache knowledge that the
target page is lossy, and save a hash_search per iteration in that
case as well. This probably makes little difference, since the extra
rechecks that must occur when pages are lossy are way more expensive
than anything we can save here ... but we might as well do it if we're
going to cache anything.
Diffstat (limited to 'src/backend/commands/explain.c')
0 files changed, 0 insertions, 0 deletions