From b1a9f0976672eb54412dd847983d2e84a4a86b74 Mon Sep 17 00:00:00 2001 From: glyn Date: Wed, 7 Jan 2015 17:42:16 +0000 Subject: [PATCH] Remove irrelevant grant --- hkey/hkey.sql | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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; -- 2.39.5