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 1jPQk9-0007cY-HE for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Apr 2020 13:09:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jPQk7-0006aj-Ds for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Apr 2020 13:09:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPQk7-0006ac-7H for pgsql-hackers@lists.postgresql.org; Fri, 17 Apr 2020 13:09:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPQjz-0001vu-Oi for pgsql-hackers@postgresql.org; Fri, 17 Apr 2020 13:09:14 +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 03HD93NQ018035; Fri, 17 Apr 2020 09:09:03 -0400 From: Tom Lane To: Peter Eisentraut cc: Alvaro Herrera , Robert Haas , pgsql-hackers Subject: Re: wrong relkind error messages In-reply-to: References: <20200414230208.GA27948@alvherre.pgsql> <10405.1586909753@sss.pgh.pa.us> Comments: In-reply-to Peter Eisentraut message dated "Fri, 17 Apr 2020 14:45:34 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18033.1587128943.1@sss.pgh.pa.us> Date: Fri, 17 Apr 2020 09:09:03 -0400 Message-ID: <18034.1587128943@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > 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. Maybe just "ALTER action cannot be performed"? I share Robert's dislike of being so vague as to just say "action". regards, tom lane