Re: BUG #16492: DROP VIEW IF EXISTS error

From: Nina Marlow <postgresql(dot)2020(at)t-net(dot)ruhr>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16492: DROP VIEW IF EXISTS error
Date: 2020-06-13 11:06:33
Message-ID: 187168644.20200613130633@smtp.mailbox.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> DROP TABLE IF EXISTS and DROP TABLE are consistent now. The message is
> ""xxx" is not a view", it is not ""xxx" doesn't exist".

Yes, but according to the documentation, there shouldn't be an error at all ("Do not throw an error if the *view* does not exist."). It doesn't say, "do not throw an error if the *object* does not exist", but "if the *view* does not exist". This is very clear to me.

So it's either a documentation error or a code error. It cannot be none.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2020-06-13 18:37:08 Re: Potential G2-item cycles under serializable isolation
Previous Message Tatsuo Ishii 2020-06-13 05:45:34 Re: Potential G2-item cycles under serializable isolation