From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | jfb(at)zer7(dot)com |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #7650: DROP TABLE IF EXISTS fails if schema does not exist |
Date: | 2013-06-29 03:09:20 |
Message-ID: | 20130629030920.GL13790@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Sun, Nov 11, 2012 at 03:17:34PM +0000, jfb(at)zer7(dot)com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7650
> Logged by: James Bellinger
> Email address: jfb(at)zer7(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2013-06-29 03:16:11 | Re: [BUGS] BUG #7652: Documentation index lacks functions from "Additional Supplied Modules" |
Previous Message | Bruce Momjian | 2013-06-29 03:04:42 | Re: BUG #7636: \ef doesn't honor ON_ERROR_ROLLBACK |