Fix to not check included columns in ANALYZE on indexes - Mailing list pgsql-hackers

From Yugo Nagata
Subject Fix to not check included columns in ANALYZE on indexes
Date
Msg-id 20180628205307.c720133a.nagata@sraoss.co.jp
Whole thread Raw
Responses Re: Fix to not check included columns in ANALYZE on indexes
List pgsql-hackers
Hi,

I found that both key columns and included columns are checked when analyze 
is run on indexes. This is almost harmless because non-expression columns
are not processed. However, this check is obviously unnecessary and we
can fix this to not check included columns. If we decide to support expressions
in included columns in future, this must be fixed eventually.

Attached is a patch to fix this.

Regards,

-- 
Yugo Nagata <nagata@sraoss.co.jp>

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: partition tree inspection functions
Next
From: Isaac Morland
Date:
Subject: Re: Unexpected behavior of DROP VIEW/TABLE IF EXISTS