Re: New/old style trigger API

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: New/old style trigger API
Date: 2001-05-27 17:11:36
Message-ID: 27274.990983496@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

darcy(at)druid(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2001-05-27 17:37:05 query/locking/efficiency question
Previous Message Domingo Alvarez Duarte 2001-05-27 17:00:37 maybe a bug in plpgsql, nulls and empty strings are not the same