Re: Field names and NEW

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Field names and NEW
Дата
Msg-id 20060505150146.GE23972@svana.org
обсуждение исходный текст
Ответ на Field names and NEW  (Tuukka Norri <tuukka.norri@iki.fi>)
Список pgsql-general
On Fri, May 05, 2006 at 11:50:05AM +0300, Tuukka Norri wrote:
> However, I would rather use PL/PgSQL, since the Perl interpreter
> might not be installed by default. Is there a way to access the NEW
> record without knowing the field names in advance?

No. pl/pgsql is not flexible enough as a language to handle
transformations like this effectively. If you know the table name you
may be able to use EXECUTE to build query strings, but it won't be
easy...

Have a ncie day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: "robert"
Дата:
Сообщение: simple md5 authentication problems
Следующее
От: "Hogan, James F. Jr."
Дата:
Сообщение: Re: Field names and NEW