BUG #7650: DROP TABLE IF EXISTS fails if schema does not exist

Поиск
Список
Период
Сортировка
От jfb@zer7.com
Тема BUG #7650: DROP TABLE IF EXISTS fails if schema does not exist
Дата
Msg-id E1TXZHy-00088T-Qh@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #7650: DROP TABLE IF EXISTS fails if schema does not exist  (Bruce Momjian <bruce@momjian.us>)
Список 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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Bernhard Reutner-Fischer"
Дата:
Сообщение: Re: BUG #7644: Missing implicit types of Result and failing type-conversion
Следующее
От: m-pg@8d.no
Дата:
Сообщение: BUG #7651: Superfluous calls to functions used for indexing