def populated?(name)
        raise_unless_materialized_views_supported

        schemaless_name = name.to_s.split(".").last

        sql = "SELECT relispopulated FROM pg_class WHERE relname = '#{schemaless_name}'"
        relations = execute(sql)

        if relations.count.positive?
          relations.first["relispopulated"].in?(["t", true])
        else
          false
        end
      end
True if supplied relation name is populated.

@param name The name of the relation

@raise [MaterializedViewsNotSupportedError] if the version of Postgres
in use does not support materialized views.

@return [boolean]