Skip site navigation (1) Skip section navigation (2)

pgsql: Rename bytea_agg to string_agg and add delimiter argument

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rename bytea_agg to string_agg and add delimiter argument
Date: 2012-04-13 18:39:16
Message-ID: E1SIlOu-0000bd-W0@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c0cc526e8b1e821dfced692a68e4c8978c2bdbc1

Modified Files
--------------
doc/src/sgml/func.sgml                   |   27 ++++++------------------
src/backend/utils/adt/varlena.c          |   13 +++++++++--
src/include/catalog/catversion.h         |    2 +-
src/include/catalog/pg_aggregate.h       |    2 +-
src/include/catalog/pg_proc.h            |    6 ++--
src/include/utils/builtins.h             |    4 +-
src/test/regress/expected/aggregates.out |   32 ++++++++++++++++++++---------
src/test/regress/sql/aggregates.sql      |   10 +++++---
8 files changed, 52 insertions(+), 44 deletions(-)

pgsql-committers by date

Next:From: Thom BrownDate: 2012-04-13 19:16:28
Subject: Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
Previous:From: Kevin GrittnerDate: 2012-04-13 18:15:10
Subject: Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group