aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-01-16 13:28:30 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-01-16 13:28:30 -0500
commit779fdcdeeeb9cdbfd271f8dc5bde76ed0c7b0813 (patch)
tree0e909dc966a3dece21d861e4cb841c61da832ca7 /src/backend/commands/explain.c
parentf5ae3ba4828ece02bae2d16b4cbce847fbcea850 (diff)
downloadpostgresql-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