]> granicus.if.org Git - postgresql/commit
Rename bytea_agg to string_agg and add delimiter argument
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 13 Apr 2012 18:36:59 +0000 (21:36 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 13 Apr 2012 18:36:59 +0000 (21:36 +0300)
commitc0cc526e8b1e821dfced692a68e4c8978c2bdbc1
treeefc28ea316bc5aedcffe57963c049a8bbd540d13
parent64e1309c76aca35e32e62e69fc11e96aadfb2615
Rename bytea_agg to string_agg and add delimiter argument

Per mailing list discussion, we would like to keep the bytea functions
parallel to the text functions, so rename bytea_agg to string_agg,
which already exists for text.

Also, to satisfy the rule that we don't want aggregate functions of
the same name with a different number of arguments, add a delimiter
argument, just like string_agg for text already has.
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