On Sun, Apr 8, 2018 at 5:41 PM, Tom Lane <t...@sss.pgh.pa.us> wrote:

> Teodor Sigaev <teo...@sigaev.ru> writes:
> > Indexes with INCLUDE columns and their support in B-tree
>
> The valgrind-using animals seem to think this broke stuff.
> There are at least two different problems here:
>
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=
> lousyjack&dt=2018-04-07%2020%3A03%3A02


I think attached patch should fix one of those problems.
We should match clauses to only key columns of index.
I will further investigate the problem with CheckIndexCompatible().

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachment: covering-fix-match-clause-to-indexcol.patch
Description: Binary data

Reply via email to