Re: Materialized views WIP patch

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Materialized views WIP patch
Дата
Msg-id CAM-w4HPF1RNcHpsCkTgg0uXiSs8eOAcky_UA8UYsyNvTvFjHqw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Materialized views WIP patch  (Ants Aasma <ants@cybertec.at>)
Ответы Re: Materialized views WIP patch  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-hackers
On Fri, Mar 1, 2013 at 3:01 PM, Ants Aasma <ants@cybertec.at> wrote:
> . To give another example of potential future
> update semantics, if we were to allow users manually maintaining
> materialized view contents using DML commands, one would expect
> TRUNCATE to mean "make this matview empty", not "make this matview
> unavailable".

Wouldn't that just be a regular table then though? How is that a
materialized view?

If anything someone might expect truncate to delete any rows from the
source table that appear in the view. But I think it's likely that
even if materialized views were updateable truncate wouldn't be one of
the updateable operations.


-- 
greg



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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: sql_drop Event Trigger
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Materialized views WIP patch