From 0ef6a8f78de1288fcd4063d31252f5a4212f3272 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 11 Mar 2008 20:12:40 +0000 Subject: 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 --- sql/modules/Voucher.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql') 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; -- cgit v1.2.3