aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/array.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2008-11-13 15:59:51 +0000
committerPeter Eisentraut <peter_e@gmx.net>2008-11-13 15:59:51 +0000
commit3379fae6de5994b242cedfa48cf613ecfee3db24 (patch)
tree677f13d679113c4ef574392e71646f7647dd69ff /src/include/utils/array.h
parent69a0e2f76d78df9f4e7381fabbf58e8a8d5476f2 (diff)
downloadpostgresql-3379fae6de5994b242cedfa48cf613ecfee3db24.tar.gz
postgresql-3379fae6de5994b242cedfa48cf613ecfee3db24.zip
array_agg aggregate function, as per SQL:2008, but without ORDER BY clause
Rearrange the documentation a bit now that array_agg and xmlagg have similar semantics and issues. best of Robert Haas, Jeff Davis, Peter Eisentraut
Diffstat (limited to 'src/include/utils/array.h')
-rw-r--r--src/include/utils/array.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/utils/array.h b/src/include/utils/array.h
index 33d9ad3207e..8b6ef08b276 100644
--- a/src/include/utils/array.h
+++ b/src/include/utils/array.h
@@ -49,7 +49,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/array.h,v 1.70 2008/11/12 13:09:28 petere Exp $
+ * $PostgreSQL: pgsql/src/include/utils/array.h,v 1.71 2008/11/13 15:59:50 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -275,4 +275,7 @@ extern ArrayType *create_singleton_array(FunctionCallInfo fcinfo,
Datum element,
int ndims);
+extern Datum array_agg_transfn(PG_FUNCTION_ARGS);
+extern Datum array_agg_finalfn(PG_FUNCTION_ARGS);
+
#endif /* ARRAY_H */