Обсуждение: Views Readonly Still?

Поиск
Список
Период
Сортировка

Views Readonly Still?

От
"Zot O'Connor"
Дата:
Are views readonly in 6.51 still?

-- 
Zot O'Connor

www.ZotConsulting.com
www.WhiteKnightHackers.com


Re: [SQL] Views Readonly Still?

От
Tom Lane
Дата:
"Zot O'Connor" <zot@ZotConsulting.com> writes:
> Are views readonly in 6.51 still?

A view as such is just a SELECT rule; if you want to make it
writable then you need to add some ON INSERT and ON UPDATE and
ON DELETE rules to cause the right things to happen wherever the
data is coming from.  There's no way that the system can intuit
what you might think is the correct behavior...
        regards, tom lane