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

From Tom Lane
Subject Re: New/old style trigger API
Date
Msg-id 27274.990983496@sss.pgh.pa.us
Whole thread Raw
In response to 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:
> It gets to fmgr_oldstyle() and then dies from a jump to a null pointer.
> Can someone please tell me how to make my function a newstyle one.

Perhaps you forgot the PG_FUNCTION_INFO_V1 declaration?  See
http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/trigger-examples.html
        regards, tom lane


pgsql-hackers by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: New/old style trigger API
Next
From: Larry Rosenman
Date:
Subject: query/locking/efficiency question