mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
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.
This commit is contained in:
@ -771,8 +771,8 @@ extern Datum unknownsend(PG_FUNCTION_ARGS);
|
||||
|
||||
extern Datum pg_column_size(PG_FUNCTION_ARGS);
|
||||
|
||||
extern Datum bytea_agg_transfn(PG_FUNCTION_ARGS);
|
||||
extern Datum bytea_agg_finalfn(PG_FUNCTION_ARGS);
|
||||
extern Datum bytea_string_agg_transfn(PG_FUNCTION_ARGS);
|
||||
extern Datum bytea_string_agg_finalfn(PG_FUNCTION_ARGS);
|
||||
extern Datum string_agg_transfn(PG_FUNCTION_ARGS);
|
||||
extern Datum string_agg_finalfn(PG_FUNCTION_ARGS);
|
||||
|
||||
|
Reference in New Issue
Block a user