Re: triggers and plpgsql question

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: triggers and plpgsql question
Дата
Msg-id 200208271538.45877.josh@agliodbs.com
обсуждение исходный текст
Ответ на triggers and plpgsql question  (Mathieu Arnold <mat@mat.cc>)
Ответы Re: triggers and plpgsql question  (Mathieu Arnold <mat@mat.cc>)
Список pgsql-sql
Mathieu,

> The thing I need, is to be able to know what does NEW contains, and I have
> not found out any mean to do so. If it's not possible to do so, I'll write
> a function per table, but for the beauty of all this, I would have liked to
> do it the way above.

You can't do this in PL/pgSQL.   See the online documentation on writing
triggers in C; that is the only way to get what you want.

--
-Josh BerkusAglio Database SolutionsSan Francisco



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: IDENT authentication problem
Следующее
От: "Ligia Pimentel"
Дата:
Сообщение: Re: Problems with version 7.1, could they be fixed in 7.2?