Referencing any field in a trigger

Поиск
Список
Период
Сортировка
От Robert Fitzpatrick
Тема Referencing any field in a trigger
Дата
Msg-id 1180106270.15450.24.camel@columbus.webtent.org
обсуждение исходный текст
Ответы Re: Referencing any field in a trigger  (Robert Fitzpatrick <lists@webtent.net>)
Re: Referencing any field in a trigger  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
How can I reference any NEW field in an insert/update trigger function?
When someone inserts or updates any field with a single asterisk (*), I
need it to become '%%%'. But if they use an asterisk in any combination
with other fields, then I want to TRANSLATE those asterisks to a single
'%'.

I was hoping not to have to test every field in the table.

--
Robert


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

Предыдущее
От: Erik Jones
Дата:
Сообщение: Re: why postgresql over other RDBMS
Следующее
От: SCassidy@overlandstorage.com
Дата:
Сообщение: Re: bytea & perl