Re: Problems With VIEWS

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Problems With VIEWS
Дата
Msg-id 62593.72984.qm@web31801.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Problems With VIEWS  ("Jeanna Geier" <jgeier@apt-cafm.com>)
Ответы Re: Problems With VIEWS  ("Jeanna Geier" <jgeier@apt-cafm.com>)
Список pgsql-general
> 2007-01-10 16:45:33 ERROR:  cannot insert into a view
> 2007-01-10 16:45:33 HINT:  You need an unconditional ON INSERT DO INSTEAD
> rule.

Also, I see you have this field in your insert rule:

new.upgrade_date

but I see so upgrade_date in you view's definition.  What exactly do you intend to be inserted.
All of the New.[field_names] in the insert statement must be view fieldnames not table fieldnames.

Regards,
Richard Broersma Jr.

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

Предыдущее
От: "Jeanna Geier"
Дата:
Сообщение: Re: Problems With VIEWS
Следующее
От: "Chad Wagner"
Дата:
Сообщение: Re: How does one perform a case-insenstive query on test or char fields