Re: Triggers with DO functionality
От | Gianni Ciolli |
---|---|
Тема | Re: Triggers with DO functionality |
Дата | |
Msg-id | 20120223085021.GB16307@leggeri.gi.lan обсуждение исходный текст |
Ответ на | Re: Triggers with DO functionality (Thom Brown <thom@linux.com>) |
Список | pgsql-hackers |
On Thu, Feb 23, 2012 at 08:26:47AM +0000, Thom Brown wrote: > On 23 February 2012 07:15, Gianni Ciolli <gianni.ciolli@2ndquadrant.it> wrote: > > Another complication: anonymous triggers would either have to be > > alone, or provide a mechanism to manage a sequence of anonymous > > triggers on the same table (such as "replace the third trigger with > > ..." or "move trigger #4 in position #2", or deciding their order of > > execution). > > Isn't the order of execution alphabetical by trigger name in > PostgreSQL? The Triggers themselves wouldn't be anonymous, we'd still > be naming them. It's the referenced functions that would no longer > need defining, and even those probably won't technically be anonymous > as they'll need cataloguing somewhere. You're right, sorry. I misread the proposal as "anonymous triggers" when instead it is "(named) triggers each implemented via an anonymous function". Cheers, Dr. Gianni Ciolli - 2ndQuadrant Italia PostgreSQL Training, Services and Support gianni.ciolli@2ndquadrant.it | www.2ndquadrant.it
В списке pgsql-hackers по дате отправления: