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 1f0SPs-0002vW-Q7 for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Mar 2018 13:44:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f0SPs-0001kb-1H for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Mar 2018 13:44:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0SO6-0004qn-LS for pgsql-hackers@lists.postgresql.org; Mon, 26 Mar 2018 13:42:14 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f0SO2-0007Y8-Jp for pgsql-hackers@lists.postgresql.org; Mon, 26 Mar 2018 13:42:13 +0000 Received: from Davids-iMac.local (unknown [173.169.74.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 363F654669; Mon, 26 Mar 2018 13:42:09 +0000 (UTC) Subject: Re: Re: WIP: Covering + unique indexes. To: Anastasia Lubennikova Cc: Alexander Korotkov , Peter Geoghegan , Thomas Munro , Andrey Borodin , PostgreSQL Hackers , Anastasia Lubennikova References: <56168952.4010101@postgrespro.ru> <7FEB0867-F4F2-4F18-8AA9-7BAA0BB32868@yandex-team.ru> <151654594496.23710.401435331419974842.pgcf@coridan.postgresql.org> <1d2b6e12-9e1c-8df5-fdd6-4d20d3791b86@postgrespro.ru> <78ca1586-647c-e159-ebf3-30957e270c66@postgrespro.ru> From: David Steele Message-ID: Date: Mon, 26 Mar 2018 09:42:08 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/26/18 6:10 AM, Alexander Korotkov wrote: > > So, as I get you're proposing to introduce INDEX_ALT_TID_MASK flag > which would indicate that we're storing something special in the t_tid > offset.  And that should help us not only for covering indexes, but also for > further btree enhancements including suffix truncation.  What exactly do > you propose to store into t_tid offset when INDEX_ALT_TID_MASK flag > is set?  Is it number of attributes in this particular index tuple? It appears that discussion and review of this patch is ongoing so it should not be marked Ready for Committer. I have changed it to Waiting on Author since there are several pending reviews and at least one bug. Regards, -- -David david@pgmasters.net