Re: Concurrently updating an updatable view

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Concurrently updating an updatable view
Дата
Msg-id 4649DB93.8030504@archonet.com
обсуждение исходный текст
Ответ на Re: Concurrently updating an updatable view  (Hiroshi Inoue <inoue@tpf.co.jp>)
Ответы Re: Concurrently updating an updatable view  ("Florian G. Pflug" <fgp@phlo.org>)
Список pgsql-hackers
Hiroshi Inoue wrote:
> Florian G. Pflug wrote:
> 
>> I think there should be a big, fat warning that self-referential
>> updates have highly non-obvious behaviour in read-committed mode,
>> and should be avoided.
> 
> It seems pretty difficult for PostgreSQL rule system to avoid such
>  kind of updates. I'm suspicious if UPDATABLE VIEWS can be implemented
>  using the rule system.

Remember this affects all self-referential joins on an UPDATE (and 
DELETE?) not just views. It's just that a rule is more likely to produce 
that type of query.

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Not ready for 8.3
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Managing the community information stream