Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fkHXE-0001Mv-47 for pgsql-general@arkaria.postgresql.org; Mon, 30 Jul 2018 23:25: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 1fkHX7-0006Rd-U3 for pgsql-general@arkaria.postgresql.org; Mon, 30 Jul 2018 23:24:57 +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 1fkHX6-0006RU-9c for pgsql-general@lists.postgresql.org; Mon, 30 Jul 2018 23:24:57 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fkHX1-0003jM-JI for pgsql-general@postgresql.org; Mon, 30 Jul 2018 23:24:55 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DDC9821F0D; Mon, 30 Jul 2018 19:24:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 30 Jul 2018 19:24:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=uwqjXHDHBMVqTYlj1vleUSLFelT50GiymVucxsiMrPI=; b=fiGA1lCF Lodt6d1cqsoo/+GgcBlCld44ujpQYTpWHy2lLYheiQWFsaXWS3n8RiGO069fyzsc /ZwRUitpyeW5PdDGr+An/lJ7RqJ2czzbDP1EFCnEc4/bWHLpHlxGEUpaMy8mUolX 1CyZmIDt3LqUC1QjMS78KIDoM9aRVsLft+50I7e+zQ+/IzhZOUMqajGWp9F9hCa3 62THTA97hDXFe+dUoMt6nIUupnoxn9DX6Nww6JjERB1dwRAGsaYo9acJJW9yg6bs sbilmJ01nR9ymkKjcjTaejwX55nTvGF12Ds7PjP15KO9SziYjPpJhNGWSeJqg6tu Yhqoj00XKC7WqA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=uwqjXHDHBMVqTYlj1vleUSLFelT50 GiymVucxsiMrPI=; b=sc3PT9fKKwqol3AP80XsjkxsRnCZvBbqFaevdsteBvtzj NtsuI6v93Yszi/AxoH66mjSq+qdg91eKRHQdzY9BB3Pf0Mb7geIqJSQPPWfypThQ YBDrnp5PdurCxsY5CmvBgYHN7ewV2i13Qv62pqi5tqfNhBwI7Hj5sKzxDFwMouSb Jv7E1tEvUNG24a/Htc8AGkdmnNuXTdvlncsWbEY9prijlE/+nkqECxctawwmaUrB 0kzc16/lDYoq8zmY3bjSezynOKevQuDFacXY037HG69IHA8WBr88mhKvj+owwDSf kFxAf+AvajfaX9sIQwvLSNVC0ty3hNvIlD8RCpvOA== X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 5AC5C10261; Mon, 30 Jul 2018 19:24:49 -0400 (EDT) Date: Mon, 30 Jul 2018 16:24:48 -0700 From: Andres Freund To: Melvin Davidson Cc: Tom Lane , "pgsql-general@postgresql.org >> PG-General Mailing List" Subject: Re: Restore relhaspkey in PostgreSQL Version 11 Beta Message-ID: <20180730232448.3pfx3slkpzua33da@alap3.anarazel.de> References: <27216.1532961061@sss.pgh.pa.us> <20180730222136.gyqu4gkp6zfpoaph@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-07-30 19:11:34 -0400, Melvin Davidson wrote: > *Of course. Would you be so kind as to point out where in the > information_schema it * > *indicates if a table has a primary key or not. Oh wait, now I > remember...no place.* As Adrian pointed out, that's wrong. It's in information_schema. You're pretty damn antagonistic while asking for things. > *>Keeping random atavistic things around, would slow us down, which will be > a>price everybody is paying. * > *Random atavistic things? I hardly think relhaspkey is random. It's been > there since version 7.2.* > *Exactly how does keeping it around slow you/us down?* Being old doesn't imply it's not superfluous and/or slows us down. There've been a number of discussions and bug reports about the inaccuracy - even though it's documented! - it in the last few years. That alone costs time. Additionally it's code we need to maintain. Greetings, Andres Freund