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 1ewFYh-0000wX-MS for pgsql-committers@arkaria.postgresql.org; Wed, 14 Mar 2018 23:11:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewFYf-0000Bw-1z for pgsql-committers@arkaria.postgresql.org; Wed, 14 Mar 2018 23:11:45 +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 1ewFYe-0000Bm-Mb for pgsql-committers@lists.postgresql.org; Wed, 14 Mar 2018 23:11:44 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewFYX-0004E8-0J for pgsql-committers@postgresql.org; Wed, 14 Mar 2018 23:11:43 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id BC5D7117D; Wed, 14 Mar 2018 19:11:35 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 14 Mar 2018 19:11:35 -0400 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:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=1vJAz60mXbU+IdRyo Nqw54SUTCjCG+V5+602ibinj5k=; b=SPBR3w3SMnPt2zutMLesdfUdMBgOod8wI IzDJ3PQwi90HEIuow+VnabXmFK6PTk5Jo/LHT7ETRIxEvX+sAF+qbQ/6oYz+7Yuo gqb0PnKyrCiDJjTcuxD+c+oy5MYWx0Ii4vLZ8lt6VV9ZrZxQD2wRdfLz7jovBXfd z3IzjjzUq/MJy8wsWwR0V4Wg0wep1d3oJriJQsuGWrKnWpypNMWEpAMP11VCjjcX j28MQwTvHOtMuddeoQTOgEsbjSo6NKd8lKhpQy/6wEqCE27FARxW8VJMuuRlBYE6 Vs7qnv9LpzGmAKg4N/kjSHgJDHXkXI1VtarCJkMJ1tCxuEM/5/+Rg== X-ME-Sender: Received: from alvin.alvh.no-ip.org (unknown [179.56.29.253]) by mail.messagingengine.com (Postfix) with ESMTPA id DEACC7E1F6; Wed, 14 Mar 2018 19:11:34 -0400 (EDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id BBE86AA4; Wed, 14 Mar 2018 20:11:32 -0300 (-03) Date: Wed, 14 Mar 2018 20:11:32 -0300 From: Alvaro Herrera To: Tom Lane Cc: Andrew Dunstan , Andres Freund , Peter Eisentraut , pgsql-committers@postgresql.org Subject: Re: pgsql: Remove pg_class.relhaspkey Message-ID: <20180314231132.4ac5hlxhs7m2xbhg@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1452.1521067003@sss.pgh.pa.us> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tom Lane wrote: > Andrew Dunstan writes: > > Basing an MV on pg_class could always be difficult for pg_upgrade. Maybe > > that's not a brilliant thing to do in a test (or maybe the test should drop > > the MV after it's done). > > OH. Is that what it's doing? The cause of the failure is immediately > obvious then. pg_class now lacks a relhaspkey column, but the matview > is still dependent on one being there. > > I concur that this is not well-considered test design. It seems very strange to me that the test_ddl_deparse database would be used by a pg_upgrade test, but OK. I'll change it. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services