Обсуждение: pgsql: Prevent bitmap heap scans from showing unnecessary block info in

Поиск
Список
Период
Сортировка

pgsql: Prevent bitmap heap scans from showing unnecessary block info in

От
Fujii Masao
Дата:
Prevent bitmap heap scans from showing unnecessary block info in EXPLAIN ANALYZE.

EXPLAIN ANALYZE shows the information of the numbers of exact/lossy blocks which
bitmap heap scan processes. But, previously, when those numbers were both zero,
it displayed only the prefix "Heap Blocks:" in TEXT output format. This is strange
and would confuse the users. So this commit suppresses such unnecessary information.

Backpatch to 9.4 where EXPLAIN ANALYZE was changed so that such information was
displayed.

Etsuro Fujita

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/543f57fc37e5d18ad4937fe11efd8e58d8fc7b23

Modified Files
--------------
src/backend/commands/explain.c |   17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)