Skip site navigation (1) Skip section navigation (2)

Re: New/old style trigger API

From: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: New/old style trigger API
Date: 2001-05-27 20:10:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Thus spake Tom Lane
> darcy(at)druid(dot)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
> 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(at){druid|vex}.net>   |  Democracy is three wolves                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2001-05-27 20:37:35
Subject: Re: New/old style trigger API
Previous:From: Tom LaneDate: 2001-05-27 19:50:12
Subject: Re: New/old style trigger API

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group