Skip to main content

Module view_creation

Module view_creation 

Source
Expand description

View target namespaces, replacement row types, and materialized-view declarations.

Traits§

ViewCreationNamespace

Functions§

replacement_is_view
DefineVirtualRelation: a relation that already has the name is a collision, or with OR REPLACE must be a view. Both diagnostics name the relation without its schema.
temporary_view_notice
The notice DefineView reports for a view that its query makes temporary, naming the view as written without its schema.
validate_replacement_schema
view_becomes_temporary
Whether DefineView makes a view temporary because its query uses a temporary relation, which it reports with a notice before it resolves the view’s namespace.
view_creation_target
The view’s canonical name and persistence: a view whose query uses a temporary relation is temporary, and then goes where a temporary relation of its name goes.