summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-12-26 17:00:47 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-12-26 17:00:47 +0000
commitbfca312b29b73f9745c7477e63db3bd928bc3cc6 (patch)
treeebd7b7b7dee329be0ccbcbf31957775559340923 /sql
parent9ed53931caa84ae5b821a11324aeb8ce0936523b (diff)
Removing as_array and compound_array since they are part of Pg-database
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2003 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql')
-rw-r--r--sql/modules/Report.sql14
1 files changed, 0 insertions, 14 deletions
diff --git a/sql/modules/Report.sql b/sql/modules/Report.sql
index 2cdd95d9..9eb6c9c4 100644
--- a/sql/modules/Report.sql
+++ b/sql/modules/Report.sql
@@ -30,20 +30,6 @@ CREATE TYPE report_aging_item AS (
);
-CREATE AGGREGATE as_array (
- BASETYPE = ANYELEMENT,
- STYPE = ANYARRAY,
- SFUNC = ARRAY_APPEND,
- INITCOND = '{}'
-);
-
-CREATE AGGREGATE compound_array (
- BASETYPE = ANYARRAY,
- STYPE = ANYARRAY,
- SFUNC = ARRAY_CAT,
- INITCOND = '{}'
-);
-
CREATE OR REPLACE FUNCTION
report_invoice_aging(in_entity_id int, in_entity_class int)
RETURNS SETOF report_aging_item