Re: BUG #16492: DROP VIEW IF EXISTS error - Mailing list pgsql-bugs

From Nina Marlow
Subject Re: BUG #16492: DROP VIEW IF EXISTS error
Date
Msg-id 187168644.20200613130633@smtp.mailbox.org
Whole thread Raw
In response to Re: BUG #16492: DROP VIEW IF EXISTS error  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: BUG #16492: DROP VIEW IF EXISTS error
List 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
notexist."). 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.




pgsql-bugs by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Potential G2-item cycles under serializable isolation
Next
From: Peter Geoghegan
Date:
Subject: Re: Potential G2-item cycles under serializable isolation