From: Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org>
To: pgsql-sql@postgresql.org
Subject: Re: dynmic column names inside trigger?
Date: Thu, 22 Nov 2007 14:54:59 +0100
Message-ID: <20071122135459.GB10426@apartia.fr> (raw)
In-Reply-To: <6086.1195577762@sss.pgh.pa.us>
References: <20071120161258.GA27106@apartia.fr>
<6086.1195577762@sss.pgh.pa.us>
On Tue, Nov 20, 2007 at 11:56:02AM -0500, Tom Lane wrote:
> Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org> writes:
> > I'd like to use it on other tables an columns but how can the column
> > name be dynamic inside the procedure.
>
> It can't --- plpgsql has no support for that. You could probably make
> it work in some of the other PL languages, such as plperl or pltcl,
> which are less strongly typed.
Hi Tom,
What the performance penality of using plperl vs. plpgsql ?
Thanks,
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: vindex+lists-pgsql-sql@apartia.org
Subject: Re: dynmic column names inside trigger?
In-Reply-To: <20071122135459.GB10426@apartia.fr>
* 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