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

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: New/old style trigger API
Date
Msg-id 20010527201036.A78871A8F@druid.net
Whole thread Raw
In response to Re: New/old style trigger API  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: New/old style trigger API  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Thus spake Tom Lane
> darcy@druid.net (D'Arcy J.M. Cain) writes:
> > Yah, I was looking at chapter 22 on SPI programming.  I assume that the
> > same should apply there.  Shall I go ahead and add it to the docs in that
> > chapter as well?
> 
> Uh ... where?  I see nothing related to trigger programming in chapter 22.
> 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.  The name
suggested it was a little more global than that.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: New/old style trigger API
Next
From: Tom Lane
Date:
Subject: Re: New/old style trigger API