def supports_materialized_views?
          if undecorated_connection.respond_to?(:supports_materialized_views?)
            super
          else
            postgresql_version >= 90300
          end
        end
True if the connection supports materialized views.

Delegates to the method of the same name if it is already defined on
the connection. This is the case for Rails 4.2 or higher.

@return [Boolean]