Re: wrong relkind error messages

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: wrong relkind error messages
Date: 2020-04-17 13:09:03
Message-ID: 18034.1587128943@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2020-04-17 13:09:07 Re: Autovacuum on partitioned table (autoanalyze)
Previous Message Prabhat Sahu 2020-04-17 12:59:38 Re: [Proposal] Global temporary tables