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

From Dmitry Fefelov
Subject Re: Dyamic updates of NEW with pl/pgsql
Date
Msg-id 201003111625.25283.fozzy@ac-sw.com
Whole thread Raw
In response to Dyamic updates of NEW with pl/pgsql  (strk <strk@keybit.net>)
List 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.

It's not possible in plpgsql, but you can write plperl function, and later use 
it in plpgsql triggers.

Regards, 
Dmitry


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Assertion failure twophase.c (2) (testing HS/SR)
Next
From: Jeevan Chalke
Date:
Subject: Server crash with older tzload library