Re: Materialized views don't show up in information_schema - Mailing list pgsql-hackers

From Thomas Kellerer
Subject Re: Materialized views don't show up in information_schema
Date
Msg-id 1413643255628-5823559.post@n5.nabble.com
Whole thread Raw
In response to Re: Materialized views don't show up in information_schema  (Nicolas Barbier <nicolas.barbier@gmail.com>)
List 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 by date:

Previous
From: Marko Tiikkaja
Date:
Subject: Re: get_actual_variable_range vs idx_scan/idx_tup_fetch
Next
From: Bruce Momjian
Date:
Subject: Re: get_actual_variable_range vs idx_scan/idx_tup_fetch