/usr/share/postgresql/10/extension/citus--6.1-1--6.1-2.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 | /* citus--6.1-1--6.1-2.sql */
SET search_path = 'pg_catalog';
CREATE FUNCTION worker_create_truncate_trigger(table_name regclass)
RETURNS VOID
LANGUAGE C STRICT
AS 'MODULE_PATHNAME', $$worker_create_truncate_trigger$$;
COMMENT ON FUNCTION worker_create_truncate_trigger(tablename regclass)
IS 'create truncate trigger for distributed table';
RESET search_path;
|