wishlist for 8.4

Поиск
Список
Период
Сортировка
От Raphaël Jacquot
Тема wishlist for 8.4
Дата
Msg-id 47B3E4F3.1040609@sxpert.org
обсуждение исходный текст
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: NLS on MSVC strikes back!
Следующее
От: Naz Gassiep
Дата:
Сообщение: Timezone view