Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5DeY-0005zT-09 for pgsql-committers@arkaria.postgresql.org; Sun, 08 Apr 2018 16:58:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f5DeW-0005xt-Og for pgsql-committers@arkaria.postgresql.org; Sun, 08 Apr 2018 16:58:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5DeW-0005xk-Jl for pgsql-committers@lists.postgresql.org; Sun, 08 Apr 2018 16:58:52 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5DeT-0000yg-Ak for pgsql-committers@lists.postgresql.org; Sun, 08 Apr 2018 16:58:52 +0000 Received: from zorg.sigaev.ru (95-25-2-27.broadband.corbina.ru [95.25.2.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: teodor) by hook.sigaev.ru (Postfix) with ESMTPSA id C2B72B191B7; Sun, 8 Apr 2018 19:58:47 +0300 (MSK) Subject: Re: pgsql: Indexes with INCLUDE columns and their support in B-tree To: Alexander Korotkov , Tom Lane Cc: pgsql-committers References: <26445.1523198494@sss.pgh.pa.us> From: Teodor Sigaev Message-ID: <95278363-d49f-a5e3-106f-d92fac547e19@sigaev.ru> Date: Sun, 8 Apr 2018 19:58:47 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thank you, pushed Alexander Korotkov wrote: > On Sun, Apr 8, 2018 at 5:41 PM, Tom Lane > wrote: > > Teodor Sigaev > 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 -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/