1-- This file and its contents are licensed under the Timescale License. 2-- Please see the included NOTICE for copyright information and 3-- LICENSE-TIMESCALE for a copy of the license. 4 5CREATE SCHEMA IF NOT EXISTS test; 6GRANT USAGE ON SCHEMA test TO PUBLIC; 7 8CREATE OR REPLACE FUNCTION test.remote_exec(srv_name name[], command text) 9RETURNS VOID 10AS :TSL_MODULE_PATHNAME, 'ts_remote_exec' 11LANGUAGE C; 12 13CREATE OR REPLACE FUNCTION test.remote_exec_get_result_strings(srv_name name[], command text) 14RETURNS TABLE("table_record" CSTRING[]) 15AS :TSL_MODULE_PATHNAME, 'ts_remote_exec_get_result_strings' 16LANGUAGE C; 17