Re: Dyamic updates of NEW with pl/pgsql - Mailing list pgsql-hackers

From strk
Subject Re: Dyamic updates of NEW with pl/pgsql
Date
Msg-id 20100309185705.GE41088@keybit.net
Whole thread Raw
In response to Re: Dyamic updates of NEW with pl/pgsql  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Dyamic updates of NEW with pl/pgsql
List pgsql-hackers
On Tue, Mar 09, 2010 at 06:59:31PM +0100, Pavel Stehule wrote:
> 2010/3/9 strk <strk@keybit.net>:
> > How can a pl/pgsql trigger change the
> > values of dynamic fields in NEW record ?
> >
> > By "dynamic" I mean that the field name
> > is a variable in the trigger context.
> >
> > I've been told it's easy to do with pl/perl but
> > I'd like to delive a pl/pgsql solution to have
> > less dependencies.
> 
> It isn't possible yet

Any workaround you may suggest ?

--strk;
 ()   Free GIS & Flash consultant/developer /\   http://strk.keybit.net/services.html


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: patch (for 9.1) string functions
Next
From: Pavel Stehule
Date:
Subject: Re: Dyamic updates of NEW with pl/pgsql