Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Tue, 9 Mar 2010 18:32:31 +0100
  • Message-id: <20100309173231.GC41088@keybit.net> <text/plain>

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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group