Re: Dyamic updates of NEW with pl/pgsql

From: Dmitry Fefelov <fozzy(at)ac-sw(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: strk <strk(at)keybit(dot)net>
Subject: Re: Dyamic updates of NEW with pl/pgsql
Date: 2010-03-11 10:25:25
Message-ID: 201003111625.25283.fozzy@ac-sw.com
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.

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

Regards,
Dmitry

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeevan Chalke 2010-03-11 10:51:37 Server crash with older tzload library
Previous Message Fujii Masao 2010-03-11 09:39:28 Re: Assertion failure twophase.c (2) (testing HS/SR)