From: Richard Huxton <dev@archonet.com>
To: NosyMan <nosyman@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Help needed
Date: Wed, 30 Nov 2005 10:35:55 +0000
Message-ID: <438D808B.3030706@archonet.com> (raw)
In-Reply-To: <200511301118.28795.nosyman@gmail.com>
References: <200511291531.30441.leif@solumslekt.org>
<200511291701.26148.leif@solumslekt.org>
<200511291747.49570.leif@solumslekt.org>
<200511301118.28795.nosyman@gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dev@archonet.com, nosyman@gmail.com
Subject: Re: Help needed
In-Reply-To: <438D808B.3030706@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox