Re: string_agg delimiter having no effect with order by - Mailing list pgsql-bugs

From Robert Haas
Subject Re: string_agg delimiter having no effect with order by
Date
Msg-id AANLkTikUu1pBjikeFMT8vmrePUzUOPdzFCsZaAs=OjhF@mail.gmail.com
Whole thread Raw
In response to Re: string_agg delimiter having no effect with order by  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: string_agg delimiter having no effect with order by  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Wed, Aug 4, 2010 at 12:44 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> =A0I suppose this confusion is only possible because string_agg has both
>> a one-argument and a two-argument form.
>
> Right, or at least that's what allows the mistake to go through without
> reporting any error.

No, that's what lets the correct form go through without reporting any erro=
r.

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: In 8.2, shutdown wrongly caused automatic restart
Next
From: Alex Hunsaker
Date:
Subject: Re: BUG #5598: Compatibility modes