pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #7650: DROP TABLE IF EXISTS fails if schema does not exist
2+ messages / 2 participants
[nested] [flat]
* BUG #7650: DROP TABLE IF EXISTS fails if schema does not exist
@ 2012-11-11 15:17 jfb@zer7.com
0 siblings, 1 reply; 2+ messages in thread
From: jfb@zer7.com @ 2012-11-11 15:17 UTC (permalink / raw)
To: pgsql-bugs
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.
Have a good day
James
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #7650: DROP TABLE IF EXISTS fails if schema does not exist
@ 2013-06-29 03:09 Bruce Momjian <bruce@momjian.us>
parent: jfb@zer7.com
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2013-06-29 03:09 UTC (permalink / raw)
To: jfb@zer7.com; +Cc: pgsql-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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2013-06-29 03:09 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-11-11 15:17 BUG #7650: DROP TABLE IF EXISTS fails if schema does not exist jfb@zer7.com
2013-06-29 03:09 ` Bruce Momjian <bruce@momjian.us>
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