mirror of https://github.com/citusdata/citus.git
10 lines
327 B
SQL
10 lines
327 B
SQL
/* citus--6.0-1--6.0-2.sql */
|
|
|
|
CREATE FUNCTION pg_catalog.shard_name(object_name regclass, shard_id bigint)
|
|
RETURNS text
|
|
LANGUAGE C STABLE
|
|
AS 'MODULE_PATHNAME', $$shard_name$$;
|
|
COMMENT ON FUNCTION pg_catalog.shard_name(object_name regclass, shard_id bigint)
|
|
IS 'returns shard-extended version of object name';
|
|
|