[MASSMAIL]Materialized views and check constraints

Поиск
Список
Период
Сортировка
От ZeroImpl@gmail.com
Тема [MASSMAIL]Materialized views and check constraints
Дата
Msg-id CAOcaaC6_7QqF42E_jt74HJydh6ub8ooMw7+OFzBuvubioeWSXg@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
Hi,

Is there any way to add check constraints to a materialized view, or plans to add this feature in the future?

Attempting to use "ALTER TABLE tablename ADD CHECK(...)" or "ALTER MATERIALIZED VIEW" result in error:

ERROR:  "tablename" is not a table or foreign table

Check constraints are used by the optimizer, eg for partition removal, so this would be a useful feature to me.

--
Daniel

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: [MASSMAIL]CSN snapshots in hot standby
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Popcount optimization using AVX512