aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-04-24 18:16:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-04-24 18:16:38 +0000
commit186655e9a53b62f75e57bcfc218129a6cfe8ea68 (patch)
tree94be6d82761d1dc85e0b114b0ead6e2383747569 /src/backend/commands/explain.c
parent8403741796148943eb683ea30f35594a29d673f4 (diff)
downloadpostgresql-186655e9a53b62f75e57bcfc218129a6cfe8ea68.tar.gz
postgresql-186655e9a53b62f75e57bcfc218129a6cfe8ea68.zip
Adjust nodeBitmapIndexscan.c to not keep the index open across calls,
but just to open and close it during MultiExecBitmapIndexScan. This avoids acquiring duplicate resources (eg, multiple locks on the same relation) in a tree with many bitmap scans. Also, don't bother to lock the parent heap at all here, since we must be underneath a BitmapHeapScan node that will be holding a suitable lock.
Diffstat (limited to 'src/backend/commands/explain.c')
0 files changed, 0 insertions, 0 deletions