mirror of https://github.com/citusdata/citus.git
12 lines
470 B
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';
|