Re: Materialized views don't show up in information_schema

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Materialized views don't show up in information_schema
Дата
Msg-id 1413643255628-5823559.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Materialized views don't show up in information_schema  (Nicolas Barbier <nicolas.barbier@gmail.com>)
Список pgsql-hackers
> Does someone know what other DBMSs do in this regard? I.e., do they
> put anything in INFORMATION_SCHEMA.VIEWS for matviews? What TABLE_TYPE
> do they use in INFORMATION_SCHEMA.TABLES? 

I can only speak for Oracle. 

Oracle doesn't have INFORMATION_SCHEMA but their JDBC driver treats mviews
as tables. If you ask the driver for a list of tables (explicitly passing
"TABLE" as the only type to return), it will include mviews as well,
returning "MATERIALIZED VIEW" as the type of the object.




--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Materialized-views-don-t-show-up-in-information-schema-tp5822643p5823559.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



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

Предыдущее
От: Marko Tiikkaja
Дата:
Сообщение: Re: get_actual_variable_range vs idx_scan/idx_tup_fetch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: get_actual_variable_range vs idx_scan/idx_tup_fetch