Re: New/old style trigger API - Mailing list pgsql-hackers

From Tom Lane
Subject Re: New/old style trigger API
Date
Msg-id 6987.990995855@sss.pgh.pa.us
Whole thread Raw
In response to Re: New/old style trigger API  (darcy@druid.net (D'Arcy J.M. Cain))
Responses Re: New/old style trigger API  (darcy@druid.net (D'Arcy J.M. Cain))
List 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 by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: New/old style trigger API
Next
From: Larry Rosenman
Date:
Subject: Compile Issue, current CVS/UnixWare 7.1.1