Re: acessibility for tables

Поиск
Список
Период
Сортировка
От Philipp Kraus
Тема Re: acessibility for tables
Дата
Msg-id jqoqp9$ahu$1@dough.gmane.org
обсуждение исходный текст
Ответ на acessibility for tables  (Kraus Philipp <philipp.kraus@flashpixx.de>)
Ответы Re: acessibility for tables  (Willy-Bas Loos <willybas@gmail.com>)
Список pgsql-general
Hello,

On 2012-06-06 09:24:16 +0200, Albe Laurenz said:

> You can define INSTEAD OF triggers on a view so that you can insert,
> update and delete on it.  The trigger performs an operation on the
> base table instead.

I have created the trigger with "insead of". If I try to insert a row into the
view I get an error:

You need an unconditional ON INSERT DO INSTEAD rule or an INSTEAD OF
INSERT trigger

Should I create a rule !?

Thanks

Phil


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

Предыдущее
От: Josh Kupershmidt
Дата:
Сообщение: Re: Need help in transferring FP to Int64 DateTime
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Need help in transferring FP to Int64 DateTime