From c0cc526e8b1e821dfced692a68e4c8978c2bdbc1 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 13 Apr 2012 21:36:59 +0300 Subject: 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 | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 94ef2f08044..29d907ddd17 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -3160,6 +3160,11 @@ right within each byte; for example bit 0 is the least significant bit of the first byte, and bit 15 is the most significant bit of the second byte. + + + See also the aggregate function string_agg in + . + @@ -10962,24 +10967,6 @@ SELECT NULLIF(value, '(none)') ... true if at least one input value is true, otherwise false - - - - bytea_agg - - - bytea_agg(expression) - - - - bytea - - - bytea - - input values concatenated into a bytea - - @@ -11061,10 +11048,10 @@ SELECT NULLIF(value, '(none)') ... - text, text + (text, text) or (bytea, bytea) - text + same as argument types input values concatenated into a string, separated by delimiter -- cgit v1.2.3