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

Re: string_agg delimiter having no effect with order by

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Thom Brown <thom(at)linux(dot)com>, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: string_agg delimiter having no effect with order by
Date: 2010-08-04 16:50:53
Message-ID: AANLkTikUu1pBjikeFMT8vmrePUzUOPdzFCsZaAs=OjhF@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
On Wed, Aug 4, 2010 at 12:44 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>>  I 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 error.

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

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-08-04 16:55:22
Subject: Re: reducing NUMERIC size for 9.1
Previous:From: Robert HaasDate: 2010-08-04 16:49:49
Subject: Re: reducing NUMERIC size for 9.1

pgsql-bugs by date

Next:From: Alex HunsakerDate: 2010-08-04 16:51:44
Subject: Re: BUG #5598: Compatibility modes
Previous:From: Alvaro HerreraDate: 2010-08-04 16:45:46
Subject: Re: In 8.2, shutdown wrongly caused automatic restart

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