Re: Updatable views

Поиск
Список
Период
Сортировка
От Bernd Helmle
Тема Re: Updatable views
Дата
Msg-id 9FCD0A35928192835BA68709@imhotep.credativ.de
обсуждение исходный текст
Ответ на Re: Updatable views  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: Updatable views  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-patches
--On Donnerstag, Mai 08, 2008 14:42:50 +0100 Simon Riggs
<simon@2ndquadrant.com> wrote:

> That makes sense. I can't see how we would make LOCAL CHECK CONSTRAINTs
> work with rules anyhow.

One of the idea's that came up through the discussion was to make the
rewriter responsible for collecting check constraints such as the local
check condition. They would be pushed down to the executor then where the
correct constraints would be applied. However, i'm currently not in the
position to say if this is doable right now.

The original updatable views patch tracked the state of required and
applied rule conditions during rewrite. This way it applied only the rule
conditions of the specified view in cascading updates.

--
  Thanks

                    Bernd

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Updatable views
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Updatable views