Skip to content

Conversation

@mloughran
Copy link

When passing the :materialized option to create_view, a materialized view is created, which must be commented on using COMMENT ON MATERIALIZED VIEW. This PR makes that happen.

Previously an exception would be raised when attempting to comment a materialized view via create_view:

PG::WrongObjectType: ERROR:  "my_mv" is not a view: COMMENT ON VIEW "my_mv"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant