From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | NosyMan <nosyman(at)gmail(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Help needed |
Date: | 2005-11-30 10:35:55 |
Message-ID: | 438D808B.3030706@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Saunders | 2005-11-30 12:57:35 | Archives site down? |
Previous Message | NosyMan | 2005-11-30 09:18:28 | Help needed |