Re: Allowing update of column only from trigger

Поиск
Список
Период
Сортировка
От Shawn Harrison
Тема Re: Allowing update of column only from trigger
Дата
Msg-id 41FE8004.4070700@tbc.net
обсуждение исходный текст
Ответ на Allowing update of column only from trigger  (Shawn Harrison <harrison@tbc.net>)
Список pgsql-general
Shawn Harrison wrote [01/31/05 12:56 PM]:
> Shawn Harrison wrote [01/28/05 3:53 PM]:
> create or replace rule objects__update as on update to objects
> do instead (
>     update objects_data set
>         name = new.name,
>         typename = new.typename,
>         parent = new.parent,
                            ^^^^
This is a simplified version of the rule; the real one didn't have this
syntax error.

>     where id = new.id
> );
> ...
--
________________
harrison@tbc.net

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

Предыдущее
От: Sven Willenberger
Дата:
Сообщение: Re: Dereferencing a 2-dimensional array in plpgsql
Следующее
От: Együd Csaba
Дата:
Сообщение: Re: Howto determin the number of elemnts of an array