Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxj0p-0003av-Rw for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Oct 2016 23:14:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bxj0p-0000RN-72 for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Oct 2016 23:14:07 +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.84_2) (envelope-from ) id 1bxizS-0007G0-5D for pgsql-hackers@postgresql.org; Fri, 21 Oct 2016 23:12:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bxizP-00028x-Cf for pgsql-hackers@postgresql.org; Fri, 21 Oct 2016 23:12:41 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u9LNCaob028769; Fri, 21 Oct 2016 19:12:36 -0400 From: Tom Lane To: Alvaro Herrera cc: Robert Haas , Pg Hackers Subject: Re: Indirect indexes In-reply-to: <20161021230410.kyngu5dzssvi44wk@alvherre.pgsql> References: <20161021230410.kyngu5dzssvi44wk@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Fri, 21 Oct 2016 20:04:10 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28767.1477091556.1@sss.pgh.pa.us> Date: Fri, 21 Oct 2016 19:12:36 -0400 Message-ID: <28768.1477091556@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Alvaro Herrera writes: > Robert Haas wrote: >> So, I think that this is a really promising direction, but also that >> you should try very hard to try to get out from under this 6-byte PK >> limitation. That seems really ugly, and in practice it probably means >> your PK is probably going to be limited to int4, which is kind of sad >> since it leaves people using int8 or text PKs out in the cold. > I think we could just add a new type, unsigned 6 byte int, specifically > for this purpose. I think that's a really bad idea, because after you've fixed this hopefully-temporary limitation, we'll still be stuck carrying this weird type forever. Besides which, doesn't the existing TID type already serve the purpose? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers