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 20:37:35
Message-ID: 6987.990995855@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:
>> 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2001-05-27 21:28:16 Compile Issue, current CVS/UnixWare 7.1.1
Previous Message D'Arcy J.M. Cain 2001-05-27 20:10:36 Re: New/old style trigger API