-- This file and its contents are licensed under the Apache License 2.0. -- Please see the included NOTICE for copyright information and -- LICENSE-APACHE for a copy of the license. CREATE OR REPLACE FUNCTION _timescaledb_functions.cagg_validate_query( query TEXT, OUT is_valid BOOLEAN, OUT error_level TEXT, OUT error_code TEXT, OUT error_message TEXT, OUT error_detail TEXT, OUT error_hint TEXT ) RETURNS RECORD AS '@MODULE_PATHNAME@', 'ts_continuous_agg_validate_query' LANGUAGE C STRICT VOLATILE;