Re: trouble with triggers

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: trouble with triggers
Дата
Msg-id Pine.LNX.4.30.0107171743190.678-100000@peter.localdomain
обсуждение исходный текст
Ответ на trouble with triggers  ("Robert Treat" <robertt@auctionsolutions.com>)
Список pgsql-general
Robert Treat writes:

> CREATE TRIGGER formatname BEFORE update OR insert ON mytable FOR EACH row
> EXECUTE PROCEDURE lower(name);
>
> however, it gives me the message:
>
> ERROR:  CreateTrigger: function lower() does not exist

No function lower() exists that has an argument signature that makes it
suitable as a trigger function.  Read your definition again; it makes no
sense because the result of lower() is not used anywhere.

Check out the programmer's guide about how to make trigger functions.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


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

Предыдущее
От: Jose Manuel Lorenzo Lopez
Дата:
Сообщение: Re: How to find out the weekday from a date???
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] epoch to show millseconds