Re: How to create trigger if it does not exist

Поиск
Список
Период
Сортировка
От Andrus
Тема Re: How to create trigger if it does not exist
Дата
Msg-id f3ae3q$2m17$1@news.hub.org
обсуждение исходный текст
Ответ на Re: How to create trigger if it does not exist  (Rodrigo De León <rdeleonp@gmail.com>)
Список pgsql-general
>> How to create trigger only when it does not exist ?

> DROP TRIGGER IF EXISTS...
>
> See:
>
> http://www.postgresql.org/docs/8.2/static/sql-droptrigger.html

Thank you.
This doc says that dropping trigger drops depending objects also.

Which objects depend on the user-defined trigger so that they are also
dropped ?

Andrus.



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

Предыдущее
От: "Andrus"
Дата:
Сообщение: Re: How to create trigger if it does not exist
Следующее
От: olivier
Дата:
Сообщение: hundreds of schema vs hundreds of databases