Re: [mmoncure@gmail.com: Re: [GENERAL] array_to_set functions] - Mailing list pgsql-hackers

From Michael Glaesemann
Subject Re: [mmoncure@gmail.com: Re: [GENERAL] array_to_set functions]
Date
Msg-id 8FE363D9-E3A5-41BB-AD85-9D7CBD817EB1@seespotcode.net
Whole thread Raw
In response to Re: [mmoncure@gmail.com: Re: [GENERAL] array_to_set functions]  (Decibel! <decibel@decibel.org>)
Responses Re: [mmoncure@gmail.com: Re: [GENERAL] array_to_set functions]  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Aug 8, 2007, at 12:18 , Decibel! wrote:

> On Wed, Aug 08, 2007 at 12:03:34PM -0500, Michael Glaesemann wrote:
>> Personally, I think expandarray is more appropriate and its
>> functionality probably more generally useful, as it identifies the
>> array indices as well. Note you can also rename the columns.
>
> Sure. My point is that we should have a way to convert arrays to sets
> and back in the backend.

Can't really argue with you there, as I find array_accum myself.  
(Though I'd still nit-pick that this isn't an array to set  
conversion, but rather array to--possibly single-column--table.)

Michael Glaesemann
grzm seespotcode net



pgsql-hackers by date:

Previous
From: Decibel!
Date:
Subject: Re: [mmoncure@gmail.com: Re: [GENERAL] array_to_set functions]
Next
From: "Simon Riggs"
Date:
Subject: Re: HOT patch, missing things