DROP TYPE without error?

Поиск
Список
Период
Сортировка
От Philippe Lang
Тема DROP TYPE without error?
Дата
Msg-id 6C0CF58A187DA5479245E0830AF84F4208057C@poweredge.attiksystem.ch
обсуждение исходный текст
Ответы Re: DROP TYPE without error?  (Mischa <mischa.Sandberg@telus.net>)
Re: DROP TYPE without error?  (Jeff Boes <jboes@nexcerpt.com>)
Re: DROP TYPE without error?  (Craig Addleman <craiga-@-sharechive.com>)
Список pgsql-sql
Hi,

Since it is not possible to use CREATE OR REPLACE TYPE, is there a way
of using DROP TYPE on a non-existing type, without causing the entire
script to abort? It may sound crazy to ask for this, but it could be
really useful in my case, where Pl/Pgsql and Pl/Perl code is being
generated automatically, based on data found in a database.

Thanks

-----------------
Philippe Lang



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

Предыдущее
От: "Dinesh Pandey"
Дата:
Сообщение: CURSOR EXAMPLE - ORACLE TO POSTGRES CONVERSION
Следующее
От: "Dinesh Pandey"
Дата:
Сообщение: createlang 'pltclu' with postgreSQL.