Re: Tantalizing reference to passing data from NEW variable

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Tantalizing reference to passing data from NEW variable
Дата
Msg-id 23420.1083128954@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Tantalizing reference to passing data from NEW variable  (Joe Conway <mail@joeconway.com>)
Список pgsql-interfaces
Joe Conway <mail@joeconway.com> writes:
> Rich Cullingford wrote:
>> This question seems to have been asked a number of times on this list, 
>> recently (including by me) without being answered: how to pass the row 
>> data stored in the NEW variable from a trigger function into a 
>> sub-function.

> I looked a bit at making this work in PL/pgSQL at some point -- IIRC the
> issues to be solved were non-trivial.

I think that this might be less non-trivial given the recent changes in
the composite-type-datum support.  I haven't got round to looking at
plpgsql in particular, though.
        regards, tom lane


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

Предыдущее
От: Lee Kindness
Дата:
Сообщение: Re: Application compile file using Embeded SQL in P
Следующее
От: Bruce Momjian
Дата:
Сообщение: ecpg and the timezone database