From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
Cc: | Michael Glaesemann <grzm(at)seespotcode(dot)net>, "Decibel!" <decibel(at)decibel(dot)org>, Jeremy Drake <pgsql(at)jdrake(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [mmoncure@gmail.com: Re: [GENERAL] array_to_set functions] |
Date: | 2008-03-12 15:14:39 |
Message-ID: | 200803121514.m2CFEd812654@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Added to TODO:
* Add array_accum() and array_to_set() functions for arrays
http://archives.postgresql.org/pgsql-hackers/2007-08/msg00464.php
---------------------------------------------------------------------------
Merlin Moncure wrote:
> On 8/14/07, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> >
> > TODO item?
>
> I would say yes...array_accum is virtually an essential function when
> working with arrays and the suggested array_to_set (and it's built in
> cousin, _pg_expand_array) really should not be built around
> generate_series when a C function is faster and will scale much
> better.
>
> array_to_set, as suggested in SQL, is something only a relative expert
> with PostgreSQL could be expected to write.
>
> Thus could generate_series be relieved from providing the only core
> function for set returning functions in the documentation. IMO, this
> part of the documentation could use some expansion anyways :)
>
> merlin
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-03-12 15:18:18 | Re: Re: TODO-list on wiki (was: TODO update about SQLSTATE to PGconn) |
Previous Message | Magnus Hagander | 2008-03-12 15:08:55 | Re: TODO-list on wiki (was: TODO update about SQLSTATE to PGconn) |