citus/src/backend/distributed/sql/udfs/create_distributed_function/9.0-1.sql

12 lines
470 B
SQL

CREATE OR REPLACE FUNCTION create_distributed_function(function_name regprocedure,
distribution_arg_name text DEFAULT NULL,
colocate_with text DEFAULT 'default')
RETURNS void
LANGUAGE C CALLED ON NULL INPUT
AS 'MODULE_PATHNAME', $$create_distributed_function$$;
COMMENT ON FUNCTION create_distributed_function(function_name regprocedure,
distribution_arg_name text,
colocate_with text)
IS 'creates a distributed function';