pub fn require_materialized_view_population( name: &str, populated: bool, ) -> Result<(), SQLError>
Scanning an unpopulated materialized view fails even if the query would read no rows.