drop if exists

Поиск
Список
Период
Сортировка
От Celia McInnis
Тема drop if exists
Дата
Msg-id 20050503205238.M86371@drmath.ca
обсуждение исходный текст
Ответ на Re: retrieving a previously defined stored procedure from the database?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
What's the easiest way to drop a composite type definition or a table if you
aren't guaranteed that it exists?

I need to do this quite frequently from stored procedures and get booted out
of the stored procedure if I try to DROP something which doesn't currently
exist.

Thanks,
Celia McInnis

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: retrieving a previously defined stored procedure from the database?
Следующее
От: "Keith Worthington"
Дата:
Сообщение: comparison trigger function