wishlist for 8.4 - Mailing list pgsql-hackers

From Raphaël Jacquot
Subject wishlist for 8.4
Date
Msg-id 47B3E4F3.1040609@sxpert.org
Whole thread Raw
Responses Re: wishlist for 8.4  (Martijn van Oosterhout <kleptog@svana.org>)
Re: wishlist for 8.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: wishlist for 8.4  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
List pgsql-hackers
hi there,

I recently found myself trying to build a trigger to modify some fields 
in a good dozen similarly structured tables in which the similar columns 
had different names.
in fact, I got stuck in pl/pgsql with the fact that there's no way to 
access the NEW tuple in an indirect way, having the name of the column 
in some variable. (I found that it could be done in plperl, but that 
left me with a taste of un-completeness...)

so, I propose the use ofNEW[variable_containing_the_column_name]

(which can obviously be extended to any tuples)
to allow such access.

what do you experts think ?


pgsql-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: NLS on MSVC strikes back!
Next
From: Naz Gassiep
Date:
Subject: Timezone view