pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nina Marlow <postgresql.2020@t-net.ruhr>
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16492: DROP VIEW IF EXISTS error
Date: Sat, 13 Jun 2020 13:06:33 +0200
Message-ID: <187168644.20200613130633@smtp.mailbox.org> (raw)
In-Reply-To: <CAFj8pRCe1+eAF1+06O_qCgVwrxAXsQkznqG1yTZSK+qnC29-Dw@mail.gmail.com>
References: <16492-2f002961054fd4a8@postgresql.org>
	<CAKFQuwaCYa3Dx_dEcLfzUrUgcw_jOJ1Y_s-mGwkf0ENXt34XGg@mail.gmail.com>
	<CAFj8pRCe1+eAF1+06O_qCgVwrxAXsQkznqG1yTZSK+qnC29-Dw@mail.gmail.com>

> 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.






view thread (17+ messages)  latest in thread

Message-ID: <187168644.20200613130633@smtp.mailbox.org>
Permalink:  ../187168644.20200613130633@smtp.mailbox.org/
Also on:    postgresql.org/message-id/187168644.20200613130633@smtp.mailbox.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: postgresql.2020@t-net.ruhr, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16492: DROP VIEW IF EXISTS error
  In-Reply-To: <187168644.20200613130633@smtp.mailbox.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox