1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Revert sampling patch for EXPLAIN ANALYZE; it turns out to be too unreliable

because node timing is much less predictable than the patch expects.  I kept
the API change for InstrStopNode, however.
This commit is contained in:
Tom Lane
2006-06-09 19:30:56 +00:00
parent 9143144935
commit 5de0cbdf0c
3 changed files with 30 additions and 179 deletions

View File

@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.55 2006/05/30 14:01:57 momjian Exp $
* $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.56 2006/06/09 19:30:56 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -423,7 +423,7 @@ ExecProcNode(PlanState *node)
}
if (node->instrument)
InstrStopNode(node->instrument, TupIsNull(result) ? 0 : 1 );
InstrStopNode(node->instrument, TupIsNull(result) ? 0.0 : 1.0);
return result;
}