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

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent bitmap heap scans from showing unnecessary block info in
Date: 2014-07-14 12:00:11
Message-ID: E1X6evT-0004dF-Ro@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d4635b16fe3d0fae65d7735d9e926a1b20a90781

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

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2014-07-14 18:14:37 pgsql: MSVC: Apply icons to all binaries having them in a MinGW build.
Previous Message Fujii Masao 2014-07-14 10:45:43 pgsql: Remove incorrect comment from postgres_fdw.c.