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 1jk4Xe-0002W5-Nc for pgsql-bugs@arkaria.postgresql.org; Sat, 13 Jun 2020 11:41:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jk4Xd-0004SZ-Ga for pgsql-bugs@arkaria.postgresql.org; Sat, 13 Jun 2020 11:41:41 +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 1jk4FK-0003z6-J7 for pgsql-bugs@lists.postgresql.org; Sat, 13 Jun 2020 11:22:46 +0000 Received: from mout-p-102.mailbox.org ([2001:67c:2050::465:102]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.92) (envelope-from ) id 1jk4FI-0003AJ-85 for pgsql-bugs@lists.postgresql.org; Sat, 13 Jun 2020 11:22:45 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 49kZvN11G0zKmWQ for ; Sat, 13 Jun 2020 13:22:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id Heetg89g_2bu for ; Sat, 13 Jun 2020 13:22:34 +0200 (CEST) Date: Sat, 13 Jun 2020 13:06:33 +0200 From: Nina Marlow Message-ID: <187168644.20200613130633@smtp.mailbox.org> To: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16492: DROP VIEW IF EXISTS error In-Reply-To: References: <16492-2f002961054fd4a8@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 21893173D X-Rspamd-Score: -3.92 / 15.00 / 15.00 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > 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.