/usr/share/postgresql/10/extension/citus--6.0-16--6.0-17.sql is in postgresql-10-citus 7.0.3.PGDG-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /* citus--6.0-16--6.0-17.sql */
SET search_path = 'pg_catalog';
DROP FUNCTION pg_catalog.master_copy_shard_placement(bigint, text, integer, text, integer);
CREATE FUNCTION pg_catalog.master_copy_shard_placement(shard_id bigint,
source_node_name text,
source_node_port integer,
target_node_name text,
target_node_port integer,
do_repair bool DEFAULT true)
RETURNS void
LANGUAGE C STRICT
AS 'citus', $$master_copy_shard_placement$$;
COMMENT ON FUNCTION pg_catalog.master_copy_shard_placement(shard_id bigint,
source_node_name text,
source_node_port integer,
target_node_name text,
target_node_port integer,
do_repair bool)
IS 'copy shard from remote node';
RESET search_path;
|