Re: Help needed

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Help needed
Дата
Msg-id 438D808B.3030706@archonet.com
обсуждение исходный текст
Ответ на Help needed  (NosyMan <nosyman@gmail.com>)
Список pgsql-sql
NosyMan wrote:
> Hi everyone,
> 
> I have some kind of strange problem. I want to build general parametrized 
> trigger for my database. The parameter sent to the trigger contains a column 
> name that trigger should be check.  

> The 'vt' variable contains the column name. In the above statement I want that 
> NEW.vt to be interpreted as NEW.constant_value_id. It is possible to do this?

Not in pl/pgsql - try one of the more interpreted languages - 
tcl/perl/python etc.

Oh, and try not to reply to a previous message when starting a new 
thread - it can mess with threading in some mail packages.
--   Richard Huxton  Archonet Ltd


В списке pgsql-sql по дате отправления:

Предыдущее
От: NosyMan
Дата:
Сообщение: Help needed
Следующее
От: Neil Saunders
Дата:
Сообщение: Archives site down?