General Trigger Functions

Поиск
Список
Период
Сортировка
От mjp@ornl.gov
Тема General Trigger Functions
Дата
Msg-id 20000725154638.B8384@grail.lsd.ornl.gov
обсуждение исходный текст
Ответы Re: General Trigger Functions  (JanWieck@t-online.de (Jan Wieck))
Список pgsql-general
Hi,

Is there a way to write a "generic" trigger function in postgres
that can loop thru a table's cloumns (using TG_RELNAME)
and perform certain activities based on, say, certain column-types?
In other words, is it possible to assign OLD.<column_name>
and NEW.<column_name> to a variable inside triggers?

Thanks,
Morey Parang
ORNL

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

Предыдущее
От: JanWieck@t-online.de (Jan Wieck)
Дата:
Сообщение: Re: Comment #line after pre-processing
Следующее
От: Peter Eisentraut
Дата:
Сообщение: RE: Describe structure.