equal
deleted
inserted
replaced
1 # following functions have been renamed, but keep old definition for bw compat |
1 # following functions have been renamed, but keep old definition for bw compat |
|
2 """ |
|
3 |
|
4 :organization: Logilab |
|
5 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2. |
|
6 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
|
7 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
|
8 """ |
2 sql('''CREATE AGGREGATE group_concat ( |
9 sql('''CREATE AGGREGATE group_concat ( |
3 basetype = anyelement, |
10 basetype = anyelement, |
4 sfunc = array_append, |
11 sfunc = array_append, |
5 stype = anyarray, |
12 stype = anyarray, |
6 finalfunc = comma_join, |
13 finalfunc = comma_join, |