Order of triggers and sequences...

Поиск
Список
Период
Сортировка
От Alex Mayrhofer
Тема Order of triggers and sequences...
Дата
Msg-id 44535D48.7040503@nona.net
обсуждение исходный текст
Ответы Re: Order of triggers and sequences...  (Terry Lee Tucker <terry@esc1.com>)
Список pgsql-general
Hi,

i'm about to implement a trigger on a table with an id field populated by a
sequence (the usual 'id SERIAL NOT NULL PRIMARY KEY').

Just a short (probably lame) question: Would a "BEFORE INSERT" row level
trigger already see a populated 'id' column, or would that happen after all
triggers on the actual insert?

thanks,

Alex


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

Предыдущее
От: Dany De Bontridder
Дата:
Сообщение: dump Functions
Следующее
От: Terry Lee Tucker
Дата:
Сообщение: Re: Order of triggers and sequences...