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 1f55An-00061N-JB for pgsql-committers@arkaria.postgresql.org; Sun, 08 Apr 2018 07:55:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f55Am-00040d-3e for pgsql-committers@arkaria.postgresql.org; Sun, 08 Apr 2018 07:55:36 +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 1f55Al-00040U-Uj for pgsql-committers@lists.postgresql.org; Sun, 08 Apr 2018 07:55:35 +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 1f55Ai-0005zs-JE for pgsql-committers@lists.postgresql.org; Sun, 08 Apr 2018 07:55:35 +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 AF872B19192; Sun, 8 Apr 2018 10:55:30 +0300 (MSK) Subject: Re: pgsql: Support index INCLUDE in the AM properties interface. To: Andrew Gierth , pgsql-committers@lists.postgresql.org References: From: Teodor Sigaev Message-ID: <5968c973-98fb-16bb-efa6-b6cb518fc36a@sigaev.ru> Date: Sun, 8 Apr 2018 10:55:30 +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! Andrew Gierth wrote: > Support index INCLUDE in the AM properties interface. > > This rectifies an oversight in commit 8224de4f4, by adding a new > property 'can_include' for pg_indexam_has_property, and adjusting the > results of pg_index_column_has_property to give more appropriate > results for INCLUDEd columns. > > Branch > ------ > master > > Details > ------- > https://git.postgresql.org/pg/commitdiff/49b0e300f7dd56b092c0046ee29dc2b15beea9a8 > > Modified Files > -------------- > doc/src/sgml/func.sgml | 6 ++ > src/backend/utils/adt/amutils.c | 158 +++++++++++++++++++++++----------- > src/include/access/amapi.h | 9 +- > src/test/regress/expected/amutils.out | 57 ++++++++++-- > src/test/regress/sql/amutils.sql | 17 +++- > 5 files changed, 185 insertions(+), 62 deletions(-) > -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/