/usr/share/postgresql/10/extension/citus--6.1-7--6.1-8.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 | /* citus--6.1-4--6.1-5.sql */
SET search_path = 'pg_catalog';
CREATE FUNCTION lock_shard_resources(lock_mode int, shard_id bigint[])
RETURNS VOID
LANGUAGE C STRICT
AS 'MODULE_PATHNAME', $$lock_shard_resources$$;
COMMENT ON FUNCTION lock_shard_resources(lock_mode int, shard_id bigint[])
IS 'lock shard resource to serialise non-commutative writes';
CREATE FUNCTION lock_shard_metadata(lock_mode int, shard_id bigint[])
RETURNS VOID
LANGUAGE C STRICT
AS 'MODULE_PATHNAME', $$lock_shard_metadata$$;
COMMENT ON FUNCTION lock_shard_metadata(lock_mode int, shard_id bigint[])
IS 'lock shard metadata to prevent writes during metadata changes';
RESET search_path;
|