From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Using triggers with non-C functions |
Date: | 2000-05-17 17:06:57 |
Message-ID: | 200005171706.NAA26785@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Now that I know that triggers can call non-C functions, I would like to
know how non-C functions access information about the triggered row.
I see plpgsql has an interface to the trigger information. Do SQL
functions us OLD/NEW to reference that information, like they do in
rules?
The trigger programmers guide page says PROCEDURE is a C function, so I
will need to correct that:
Procedure
The procedure name is the C function called.
--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Patrick Robin | 2000-05-17 17:13:20 | pg_dump return failed sanity check |
Previous Message | Mitch Vincent | 2000-05-17 16:57:19 | Re: Ouch .. VACUUM *is* killer ... |