From: Bruce Momjian <bruce@momjian.us>
To: jfb@zer7.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7650: DROP TABLE IF EXISTS fails if schema does not exist
Date: Fri, 28 Jun 2013 23:09:20 -0400
Message-ID: <20130629030920.GL13790@momjian.us> (raw)
In-Reply-To: <E1TXZHy-00088T-Qh@wrigleys.postgresql.org>
References: <E1TXZHy-00088T-Qh@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Sun, Nov 11, 2012 at 03:17:34PM +0000, jfb@zer7.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7650
> Logged by: James Bellinger
> Email address: jfb@zer7.com
> PostgreSQL version: 9.1.5
> Operating system: Ubuntu Linux 12.04 Server
> Description:
>
> Not sure this worked last time (I got some DMARC error), but here's a
> bug...
>
> If a schema does not exist, DROP TABLE IF EXISTS schema.table will cause the
> transaction to fail (due to 'schema does not exist'). End result, DROP TABLE
> IF EXISTS is pretty much unusable with schemas. It needs to act the same as
> DROP TABLE IF EXISTS does for the default schema.
FYI, this will be fixed in Postgres 9.3.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, jfb@zer7.com
Subject: Re: BUG #7650: DROP TABLE IF EXISTS fails if schema does not exist
In-Reply-To: <20130629030920.GL13790@momjian.us>
References: <E1TXZHy-00088T-Qh@wrigleys.postgresql.org> <20130629030920.GL13790@momjian.us>
* 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