Re: looping on NEW and OLD in a trigger - Mailing list pgsql-general

From Michael P. Soulier
Subject Re: looping on NEW and OLD in a trigger
Date
Msg-id 20100826165916.GE6913@e-smith.com
Whole thread Raw
In response to Re: looping on NEW and OLD in a trigger  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: looping on NEW and OLD in a trigger
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: looping on NEW and OLD in a trigger
Next
From: Denis Papathanasiou
Date:
Subject: Re: Differences between to_tsquery() and plainto_tsquery() when it comes to applying an index?