mirror of https://github.com/citusdata/citus.git
10 lines
399 B
SQL
10 lines
399 B
SQL
-- citus--7.0-1--7.0-2.sql
|
|
|
|
-- redefine shard_name as STRICT
|
|
CREATE OR REPLACE FUNCTION pg_catalog.shard_name(object_name regclass, shard_id bigint)
|
|
RETURNS text
|
|
LANGUAGE C STABLE STRICT
|
|
AS 'MODULE_PATHNAME', $$shard_name$$;
|
|
COMMENT ON FUNCTION pg_catalog.shard_name(object_name regclass, shard_id bigint)
|
|
IS 'returns schema-qualified, shard-extended identifier of object name';
|