Re: string_agg delimiter having no effect with order by

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
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:44:40
Message-ID: 21179.1280940280@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

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.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2010-08-04 16:45:46 Re: In 8.2, shutdown wrongly caused automatic restart
Previous Message Robert Haas 2010-08-04 16:42:04 Re: BUG #5598: Compatibility modes

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-08-04 16:49:49 Re: reducing NUMERIC size for 9.1
Previous Message Robert Haas 2010-08-04 16:40:09 Re: string_agg delimiter having no effect with order by