]> granicus.if.org Git - postgresql/commit
Add string_agg aggregate functions. The one argument version concatenates
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Mon, 1 Feb 2010 03:14:45 +0000 (03:14 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Mon, 1 Feb 2010 03:14:45 +0000 (03:14 +0000)
commit9ea9918e37689fbc9ed43532b8828652b5ea90cd
treef512d7e150549dd403f0266374d7dbcfa460d8ed
parentee3a81f0a03d0da128689df92a84a24a337645ec
Add string_agg aggregate functions. The one argument version concatenates
the input values into a string. The two argument version also does the same
thing, but inserts delimiters between elements.

Original patch by Pavel Stehule, reviewed by David E. Wheeler and me.
doc/src/sgml/func.sgml
src/backend/utils/adt/varlena.c
src/include/catalog/catversion.h
src/include/catalog/pg_aggregate.h
src/include/catalog/pg_proc.h
src/include/utils/builtins.h
src/test/regress/expected/aggregates.out
src/test/regress/sql/aggregates.sql