summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-03-11 20:12:40 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-03-11 20:12:40 +0000
commit0ef6a8f78de1288fcd4063d31252f5a4212f3272 (patch)
treec06a3aa1ded0e4adddd7599021b1c1b42498afc3 /sql
parent801a736c7446b57da59e381919da1f2202e058f3 (diff)
Correcting two issues with Voucher.sql which prevent loading.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2108 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql')
-rw-r--r--sql/modules/Voucher.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/modules/Voucher.sql b/sql/modules/Voucher.sql
index 736abcfc..4cf04c6a 100644
--- a/sql/modules/Voucher.sql
+++ b/sql/modules/Voucher.sql
@@ -335,7 +335,7 @@ BEGIN
END;
$$ language plpgsql SECURITY DEFINER;
-REVOKE ALL ON FUNCTION batch__delete(int) FROM PUBLIC;
+REVOKE ALL ON FUNCTION batch_delete(int) FROM PUBLIC;
CREATE OR REPLACE FUNCTION voucher__delete(in_voucher_id int)
RETURNS int AS
@@ -375,4 +375,4 @@ BEGIN
END;
$$ LANGUAGE PLPGSQL SECURITY DEFINER;
-REVOKE ALL ON voucher__delete FROM public;
+REVOKE ALL ON FUNCTION voucher__delete(int) FROM public;