Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6t3h-0004RI-04 for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Feb 2021 10:37:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l6t3f-0008Ox-Tp for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Feb 2021 10:37:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6t3f-0008M6-Mr for pgsql-hackers@lists.postgresql.org; Tue, 02 Feb 2021 10:37:19 +0000 Received: from forward2-smtp.messagingengine.com ([66.111.4.226]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6t3c-0006J9-Mm for pgsql-hackers@postgresql.org; Tue, 02 Feb 2021 10:37:18 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.nyi.internal (Postfix) with ESMTP id B8C571940F27; Tue, 2 Feb 2021 05:37:15 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 02 Feb 2021 05:37:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=R9OsSqh2zGjhM+qBia1OKCCHgyMhyyOSJRcG58O5q dk=; b=GYhQY+AsdGeW9M5HOSS7tNetSFsOtQQdW9gQUA2rRHSHvm/olZWtwVsAL 5M84IdDiTcaPmtAftBVIYlnaQHVRvrPLZRFEx1WRCrVl5uCE4ZSbB8LjOXl8incK gEBOmeI9PbcR29G17SuJ9o53K2qnim2LUl69uW9hOZyG3I+vSkxp8h19geYxB2Oi UMMQtCpRBPGepbV9y+fT+A2fOOPMt9EVWk0BcxwjwbJP2bQ5pUT36MyJ4xaqJyn3 OsMIkKDD59fjeHx/GyRwfj8HB4tKhPM81ycrG+5BiwPrnj1xWtq08TRPn++BxxAj uU8UwKw26c6XWTiMD+G6NYckHf8Hw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgedtgddujecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhohfkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhrrghuthcuoehpvghtvghr rdgvihhsvghnthhrrghuthesvdhnughquhgrughrrghnthdrtghomheqnecuggftrfgrth htvghrnheptdevgeehtdejvdevvdeljeeuveejjedtleelgfekleefieekjeelgfektddu uedvnecuffhomhgrihhnpedvnhguqhhurggurhgrnhhtrdgtohhmnecukfhppeekjedrud ejjedrieelrddugedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrd gtohhm X-ME-Proxy: Received: from april.pezone.net (p57b1458c.dip0.t-ipconnect.de [87.177.69.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 09D40108005C; Tue, 2 Feb 2021 05:37:14 -0500 (EST) Subject: Re: Add primary keys to system catalogs To: Tom Lane References: <348f3158-bf7e-c5f0-f33b-9e552e3d5481@2ndquadrant.com> <266949.1610921277@sss.pgh.pa.us> <4b5a1272-b6ea-d2e0-9b8f-3bec20109eb5@2ndquadrant.com> <906053.1611249356@sss.pgh.pa.us> <94110c24-5044-38e5-3116-504c01bd8ca4@2ndquadrant.com> <3009018.1612043769@sss.pgh.pa.us> <85092dfa-2fbd-9da4-76a6-cb89cf5ce4bf@2ndquadrant.com> <3333848.1612189498@sss.pgh.pa.us> Cc: pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <24c75543-8638-5fb5-9f13-0dc06e137e10@2ndquadrant.com> Date: Tue, 2 Feb 2021 11:37:14 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <3333848.1612189498@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2021-02-01 15:24, Tom Lane wrote: > Peter Eisentraut writes: >> On 2021-01-30 22:56, Tom Lane wrote: >>> Hmm, shouldn't there have been a catversion bump in there? > >> I suppose yes on the grounds that it introduces something new in a >> freshly initdb-ed database. But I thought it wasn't necessary because >> there is no dependency between the binaries and the on-disk state. > > I've generally worked on the theory that a catversion bump is indicated > if you need to initdb in order to pass the updated regression tests. > Which one did in this case. Yeah, that's a good way of looking at it. I'll keep that in mind. -- Peter Eisentraut 2ndQuadrant, an EDB company https://www.2ndquadrant.com/