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 1jPQNL-0006rK-Vj for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Apr 2020 12:45:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jPQNK-0001Gr-UH for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Apr 2020 12:45:42 +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 1jPQNK-0001Gi-4p for pgsql-hackers@lists.postgresql.org; Fri, 17 Apr 2020 12:45:42 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPQNH-0000S0-8A for pgsql-hackers@postgresql.org; Fri, 17 Apr 2020 12:45:41 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1C7425C0211; Fri, 17 Apr 2020 08:45:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 17 Apr 2020 08:45:38 -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:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=vhrLVA57cS18OCkUS+93aLZMdZt+o1ITJN8w9A+wt JE=; b=brZpBmPMPT8ZgSH/R3SPYu835cWLGFDFYcGyk1YxV+rwggulijk8G6QD0 zdeiZj8ol8pVXHg6WvDiNeoBN/Aoaj9HEJu8FSxyLI6Rs3/oX6XYox9m0h0D2oY0 ffF9VCtryD8Bjm8NkDouz9ZbeuyqNesAhzVLx6mecQPYELqMzuaWZy1tZubaik5U t0mkEhPFKAI2rF94GHwH/yJT6jSBs74dEYBzQN82kCmtyAPen8m7u6CbNkVGD2Up u2UmnGZM8SbrQq5HRELdl6tAJ8T31FNTQQWuc5KvMx6dDxq8Z0lT9xI72PNfD3op GcVzK28RM83rj9+vyc44k6sI89dOQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrfeejgdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhfhokffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqh hurggurhgrnhhtrdgtohhmqeenucffohhmrghinhepvdhnughquhgrughrrghnthdrtgho mhenucfkphepleefrddvgedvrddvudefrddvgedunecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhhtsedv nhguqhhurggurhgrnhhtrdgtohhm X-ME-Proxy: Received: from april.pezone.net (p5df2d5f1.dip0.t-ipconnect.de [93.242.213.241]) by mail.messagingengine.com (Postfix) with ESMTPA id 7ED0D3280060; Fri, 17 Apr 2020 08:45:36 -0400 (EDT) Subject: Re: wrong relkind error messages To: Tom Lane , Alvaro Herrera References: <20200414230208.GA27948@alvherre.pgsql> <10405.1586909753@sss.pgh.pa.us> Cc: Robert Haas , pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Fri, 17 Apr 2020 14:45:34 +0200 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: <10405.1586909753@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 2020-04-15 02:15, Tom Lane wrote: > In the meantime could we at least say "ALTER TABLE action cannot > be performed"? We don't know whether ALTER TABLE was the command. For example, in one of the affected regression test cases, the command is ALTER VIEW. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services