Re: Triggers with DO functionality

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Triggers with DO functionality
Дата
Msg-id 1329499608.28565.19.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Triggers with DO functionality  (Thom Brown <thom@linux.com>)
Ответы Re: Triggers with DO functionality  (Thom Brown <thom@linux.com>)
Список pgsql-hackers
On fre, 2012-02-17 at 13:22 +0000, Thom Brown wrote:
> So instead of
> 
> CREATE TRIGGER...
> EXECUTE PROCEDURE functioname();
> 
> you'd have:
> 
> CREATE TRIGGER...
> DO $$
> ...
> $$; 

I had wished for this many times and was about to propose something
similar.

We might wish to review the SQL standard and other implementations to
make porting triggers a bit easier too.

Also, whatever ALTER functionality functions have would have to be made
available here as well.



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Displaying accumulated autovacuum cost
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: MySQL search query is not executing in Postgres DB