wishlist for 8.4
От
Raphaël Jacquot
Тема
wishlist for 8.4
Дата
Msg-id
47B3E4F3.1040609@sxpert.org
Список
Дерево обсуждения
wishlist for 8.4 Raphaël Jacquot <sxpert@sxpert.org>
Re: wishlist for 8.4 Martijn van Oosterhout <kleptog@svana.org>
Re: wishlist for 8.4 "Heikki Linnakangas" <heikki@enterprisedb.com>
Re: wishlist for 8.4 Tom Lane <tgl@sss.pgh.pa.us>
Re: wishlist for 8.4 Sam Mason <sam@samason.me.uk>
Re: wishlist for 8.4 Decibel! <decibel@decibel.org>
Re: wishlist for 8.4 Richard Huxton <dev@archonet.com>
Re: wishlist for 8.4 David Fetter <david@fetter.org>
Re: wishlist for 8.4 James Mansion <james@mansionfamily.plus.com>
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 по дате отправления