Re: Trigger position

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trigger position
Дата
Msg-id 971794.1631706044@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Trigger position  (Marcos Pegoraro <marcos@f10.com.br>)
Ответы Re: Trigger position  (Marcos Pegoraro <marcos@f10.com.br>)
Re: Trigger position  (Andreas Karlsson <andreas@proxel.se>)
Список pgsql-hackers
Marcos Pegoraro <marcos@f10.com.br> writes:
> Alphabetical order of triggers sometimes makes me write a_Recalc or z_Calc
> to be sure it´ll be the first or the last trigger with same event of that
> table

> Oracle and SQL Server have FOLLOWS and PRECEDES when defining trigger
> execution order. Firebird has POSITION, which I like it more.

Color me skeptical: doesn't that introduce more complication without
fundamentally solving anything?  You still don't know which position
numbers other triggers have used, so it seems like this is just a
different way to spell the same problem.

            regards, tom lane



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

Предыдущее
От: "Drouvot, Bertrand"
Дата:
Сообщение: Re: Minimal logical decoding on standbys
Следующее
От: Amul Sul
Дата:
Сообщение: Re: Deduplicate code updating ControleFile's DBState.