From 367eb54a83b89f7b5c1fa344bea810dd0e50b90b Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 26 Dec 2007 21:11:59 +0000 Subject: Fixing broken Account.sql git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2004 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/modules/Account.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/modules/Account.sql') diff --git a/sql/modules/Account.sql b/sql/modules/Account.sql index 283efff7..33c51ab1 100644 --- a/sql/modules/Account.sql +++ b/sql/modules/Account.sql @@ -1,6 +1,6 @@ -- VERSION 1.3.0 -CREATE OR REPLACE FUNCTION account_get (in_id) RETURNS chart AS +CREATE OR REPLACE FUNCTION account_get (in_id int) RETURNS chart AS $$ DECLARE account chart%ROWTYPE; @@ -10,7 +10,7 @@ BEGIN END; $$ LANGAUGE plpgsql; -CREATE OR REPLACE FUNCTION account_is_orphaned (in_id) RETURNS bool AS +CREATE OR REPLACE FUNCTION account_is_orphaned (in_id int) RETURNS bool AS $$ BEGIN SELECT trans_id FROM acc_trans WHERE chart_id = in_id LIMIT 1; -- cgit v1.2.3