Repository navigation
v0.1.0-alpha.3
Pre-release
Pre-release
Adds materialized views: the explorer section the manifest has always
advertised now works. Tested against CockroachDB v24.3 and the latest release.
Added
- Materialized views (#23):
get_materialized_views,
get_materialized_view_columns,get_materialized_view_definitionand
refresh_materialized_view.- Listing comes from
SHOW TABLESfiltered ontype = 'materialized view',
with theinformation_schema.tablesfallback when the role cannot run
SHOW TABLES. Only the requested schema's views are returned. - Columns reuse the
get_columnsquery, so canonical types, comments and
hidden-column filtering (rowid) behave exactly as for tables. - The definition comes from
SHOW CREATE VIEW(materialized views are
absent frominformation_schema.views). REFRESH MATERIALIZED VIEWquotes identifiers, and server errors
(missing view, permissions) surface with their SQLSTATE.
- Listing comes from
Fixed
- The
materialized_views: truecapability no longer points at-32601
stubs: discovery previously degraded to a silently empty list and refresh
to an unsupported-driver error.