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.