Re: New/old style trigger API

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New/old style trigger API
Дата
Msg-id 6987.990995855@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New/old style trigger API  (darcy@druid.net (D'Arcy J.M. Cain))
Ответы Re: New/old style trigger API  (darcy@druid.net (D'Arcy J.M. Cain))
Список pgsql-hackers
darcy@druid.net (D'Arcy J.M. Cain) writes:
>> There's an example of an old-style function at
>> http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/spi-examples.html
>> but it's not a trigger.

> Ah.  So PG_FUNCTION_INFO_V1() is strictly for triggers then.

No, it's for new-style functions.  See
http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/xfunc-c.html
        regards, tom lane


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

Предыдущее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: New/old style trigger API
Следующее
От: Larry Rosenman
Дата:
Сообщение: Compile Issue, current CVS/UnixWare 7.1.1