Using triggers with non-C functions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Using triggers with non-C functions
Дата
Msg-id 200005171706.NAA26785@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: Using triggers with non-C functions  (Alex Perel <veers@webhosting.com>)
Список 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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Re: 7.0 RPMS and syslog problem. (more)
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: ODBC & v7.0(Rel) Errors with Users and Databases