/usr/share/postgresql/10/extension/citus--6.0-13--6.0-14.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 25 | /* citus--6.0-13--6.0-14.sql */
DO $ff$
BEGIN
-- fix functions created in wrong namespace
ALTER FUNCTION public.recover_prepared_transactions()
SET SCHEMA pg_catalog;
ALTER FUNCTION public.column_name_to_column(table_name regclass, column_name text)
SET SCHEMA pg_catalog;
ALTER FUNCTION public.worker_drop_distributed_table(logicalrelid Oid)
SET SCHEMA pg_catalog;
ALTER FUNCTION public.master_get_new_placementid()
SET SCHEMA pg_catalog;
ALTER FUNCTION public.master_expire_table_cache(table_name regclass)
SET SCHEMA pg_catalog;
-- some installations don't need this corrective, so just skip...
EXCEPTION WHEN undefined_function THEN
-- do nothing
END
$ff$;
|