Drop function from public and create in pg_catalog

Fixes #600
pull/604/head
Metin Doslu 2016-06-14 17:11:38 +03:00 committed by Andres Freund
parent 48b5d15741
commit 7d18488676
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
DROP FUNCTION master_update_shard_statistics(shard_id bigint);
DROP FUNCTION IF EXISTS public.master_update_shard_statistics(shard_id bigint);
CREATE FUNCTION pg_catalog.master_update_shard_statistics(shard_id bigint)
CREATE OR REPLACE FUNCTION pg_catalog.master_update_shard_statistics(shard_id bigint)
RETURNS bigint
LANGUAGE C STRICT
AS 'MODULE_PATHNAME', $$master_update_shard_statistics$$;