Skip to content

Commit 64aa758

Browse files
author
Konstantin Podshumok
committed
fix syntax for sum aggregate
1 parent f6264f9 commit 64aa758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

post_syncdb_hooks/sum_bool/sql/post_syncdb-hook.postgresql_psycopg2.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CREATE OR REPLACE FUNCTION add(INTEGER, BOOLEAN)
44
returns INTEGER AS $$
55
SELECT $1 + $2::INTEGER AS result;
66
$$
7-
LANGUAGE plpgsql;
7+
LANGUAGE SQL;
88

99
CREATE AGGREGATE sum (BOOLEAN)
1010
(

0 commit comments

Comments
 (0)