Re: 'Index Full Scan' for Index Scan without Index Cond - Mailing list pgsql-patches

From Tom Lane
Subject Re: 'Index Full Scan' for Index Scan without Index Cond
Date
Msg-id 15940.1149602539@sss.pgh.pa.us
Whole thread Raw
In response to 'Index Full Scan' for Index Scan without Index Cond  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-patches
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> Indexes are used for two purpose, for selection and for ordering, but EXPLAIN
> shows them as 'Index Scan' in both cases. This patch changes EXPLAIN output of
> Index Scan without Index Cond to 'Index Full Scan'.

This'll break existing tools that examine EXPLAIN output (eg, pgAdmin);
I don't really think it does enough for readability to justify that.
IMHO it'd be better to just add a paragraph to the documentation
pointing out what an indexscan without index condition means.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: table/index fillfactor control
Next
From: Simon Riggs
Date:
Subject: Why do we have a WAL record for CLOG page extension?