Re: Materialized views don't show up in information_schema

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Materialized views don't show up in information_schema
Дата
Msg-id 20141010225327.GP28859@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Materialized views don't show up in information_schema  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Materialized views don't show up in information_schema
Список pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Sehrope Sarkuni <sehrope@jackdb.com> writes:
> > I've been testing out some of the new materialized view functionality
> > in 9.4 and noticed that they don't show up in the information_schema
> > data dictionary views, specifically information_schema.tables or
> > information_schema.views (sample output is below and it's the same for
> > 9.3 as well).
>
> > Is this on purpose or just an oversight?
>
> It's on purpose.  The information_schema can only show objects that
> exist in the SQL standard.

I'm not particularly thrilled with this answer.  I'd aruge that the
'materialized' part of mat views isn't relevant to the standard, which
does not concern itself with such performance-oriented considerations,
and therefore, to the standard's view (pun rather intended), they're
views.
Thanks,
    Stephen

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Materialized views don't show up in information_schema
Следующее
От: Noah Misch
Дата:
Сообщение: Re: orangutan seizes up during isolation-check