Re: looping on NEW and OLD in a trigger

Поиск
Список
Период
Сортировка
От Michael P. Soulier
Тема Re: looping on NEW and OLD in a trigger
Дата
Msg-id 20100826165916.GE6913@e-smith.com
обсуждение исходный текст
Ответ на Re: looping on NEW and OLD in a trigger  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: looping on NEW and OLD in a trigger  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
On 26/08/10 Tom Lane did say:

> If you're trying to do this in plpgsql, the answer is you can't.
> plpgsql doesn't support dynamic field references, which is what you'd
> need for what (I think) you're trying to do.
>
> You can do it in pltcl or plperl, and probably also plpython though
> I don't know enough python to be sure.

Ok, I'll try plpython then.

Thanks,
Mike
--
Michael P. Soulier <michael_soulier@mitel.com>, 613-592-2122 x2522
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: looping on NEW and OLD in a trigger
Следующее
От: Denis Papathanasiou
Дата:
Сообщение: Re: Differences between to_tsquery() and plainto_tsquery() when it comes to applying an index?