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.
Showing
- doc/src/sgml/func.sgml 7 additions, 20 deletionsdoc/src/sgml/func.sgml
- src/backend/utils/adt/varlena.c 10 additions, 3 deletionssrc/backend/utils/adt/varlena.c
- src/include/catalog/catversion.h 1 addition, 1 deletionsrc/include/catalog/catversion.h
- src/include/catalog/pg_aggregate.h 1 addition, 1 deletionsrc/include/catalog/pg_aggregate.h
- src/include/catalog/pg_proc.h 3 additions, 3 deletionssrc/include/catalog/pg_proc.h
- src/include/utils/builtins.h 2 additions, 2 deletionssrc/include/utils/builtins.h
- src/test/regress/expected/aggregates.out 22 additions, 10 deletionssrc/test/regress/expected/aggregates.out
- src/test/regress/sql/aggregates.sql 6 additions, 4 deletionssrc/test/regress/sql/aggregates.sql
Loading
Please register or sign in to comment