Dyamic updates of NEW with pl/pgsql

From: strk <strk(at)keybit(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Dyamic updates of NEW with pl/pgsql
Date: 2010-03-09 17:32:31
Message-ID: 20100309173231.GC41088@keybit.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Thanks in advance.

--strk;

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2010-03-09 17:59:31 Re: Dyamic updates of NEW with pl/pgsql
Previous Message Pavel Stehule 2010-03-09 16:56:59 Re: patch (for 9.1) string functions