NosyMan wrote:
> Hi everyone,
>
> I have some kind of strange problem. I want to build general parametrized
> trigger for my database. The parameter sent to the trigger contains a column
> name that trigger should be check.
> The 'vt' variable contains the column name. In the above statement I want that
> NEW.vt to be interpreted as NEW.constant_value_id. It is possible to do this?
Not in pl/pgsql - try one of the more interpreted languages -
tcl/perl/python etc.
Oh, and try not to reply to a previous message when starting a new
thread - it can mess with threading in some mail packages.
-- Richard Huxton Archonet Ltd