GS_VIEW_INVALID
GS_VIEW_INVALID queries all unavailable views visible to the current user.
If the basic table, function, or synonym on which the view depends is abnormal, the validtype column of the view is displayed as invalid. If the system object on which the view depends changes during an upgrade, the validtype column of the view is displayed as invalidInUpgrade.
Column |
Type |
Description |
---|---|---|
oid |
oid |
OID of the view |
schemaname |
name |
View space name |
viewname |
name |
Name of the view |
viewowner |
name |
Owner of the view |
definition |
text |
Definition of the view |
validtype |
text |
View validity flag |
last_invalid_time |
timestamp with time zone |
Time when a view is invalid. This column is available only in clusters of version 9.1.0.200 or later. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.