| От | Thomas Kellerer |
|---|---|
| Тема | Updateable VIEWS and the manual |
| Дата | |
| Msg-id | k9641g$a8r$1@ger.gmane.org обсуждение исходный текст |
| Ответы |
Re: Updateable VIEWS and the manual
Re: Updateable VIEWS and the manual |
| Список | pgsql-general |
Hi,
I just noticed the following statement in the CREATE VIEW documentation (9.2 and 9.1):
Currently, views are read only: the system will not allow an insert,
update, or delete on a view. You can get the effect of an updatable view by
creating rules that rewrite inserts, etc. on the view into appropriate actions
on other tables. For more information see CREATE RULE.
Wouldn't it make more sense to refer to INSTEAD OF triggers?
My understanding was that an INSTEAD OF trigger was preferred over a rule nowadays.
Regards
Thomas
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера