1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-18 12:22:09 +03:00

Make EXPLAIN sampling smarter, to avoid excessive sampling delay.

Martijn van Oosterhout
This commit is contained in:
Bruce Momjian
2006-05-30 14:01:58 +00:00
parent 53d669e5c6
commit 87bd07d979
8 changed files with 149 additions and 54 deletions

View File

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/executor/nodeBitmapIndexscan.c,v 1.18 2006/05/23 15:21:52 tgl Exp $
* $PostgreSQL: pgsql/src/backend/executor/nodeBitmapIndexscan.c,v 1.19 2006/05/30 14:01:58 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -112,7 +112,7 @@ MultiExecBitmapIndexScan(BitmapIndexScanState *node)
/* must provide our own instrumentation support */
if (node->ss.ps.instrument)
InstrStopNodeMulti(node->ss.ps.instrument, nTuples);
InstrStopNode(node->ss.ps.instrument, nTuples);
return (Node *) tbm;
}