From: glyn Date: Wed, 7 Jan 2015 17:42:16 +0000 (+0000) Subject: Remove irrelevant grant X-Git-Url: https://git.8kb.co.uk/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=slony-i%2Fuser_replication Remove irrelevant grant --- diff --git a/hkey/hkey.sql b/hkey/hkey.sql index 75648c1..bc4fb29 100644 --- a/hkey/hkey.sql +++ b/hkey/hkey.sql @@ -1,7 +1,6 @@ -CREATE OR REPLACE FUNCTION hkey( text ) RETURNS text -AS - 'hkey.so', 'hkey' -LANGUAGE C STRICT IMMUTABLE; - -REVOKE ALL ON FUNCTION hkey( TEXT ) FROM PUBLIC; -GRANT EXECUTE ON FUNCTION hkey( TEXT ) TO admins; \ No newline at end of file +CREATE OR REPLACE FUNCTION hkey( text ) RETURNS text +AS + 'hkey.so', 'hkey' +LANGUAGE C STRICT IMMUTABLE; + +REVOKE ALL ON FUNCTION hkey( TEXT ) FROM PUBLIC;