Re: Dyamic updates of NEW with pl/pgsql

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Dyamic updates of NEW with pl/pgsql
Date: 2010-03-09 18:58:01
Message-ID: 162867791003091058x13686c80peb2cf3bdb4e31bd6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2010/3/9 strk <strk(at)keybit(dot)net>:
> On Tue, Mar 09, 2010 at 06:59:31PM +0100, Pavel Stehule wrote:
>> 2010/3/9 strk <strk(at)keybit(dot)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 ?

I don't know it - use C language maybe.

Pavel

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2010-03-09 19:30:29 Re: patch (for 9.1) string functions
Previous Message strk 2010-03-09 18:57:05 Re: Dyamic updates of NEW with pl/pgsql