Re: casting to arrays - Mailing list pgsql-sql

From Greg Stark
Subject Re: casting to arrays
Date
Msg-id 87lluu2jtp.fsf@stark.dyndns.tv
Whole thread Raw
In response to Re: casting to arrays  (Joe Conway <mail@joeconway.com>)
List pgsql-sql
Joe Conway <mail@joeconway.com> writes:

> Not possible in current releases, but it will be in 7.4 (about to start beta).
> It looks like this:

Well there is the int_array_aggregate function in the contrib/intagg
directory. It has to be compiled separately, and it has a few quirks (like the
arrays are zero-based instead of 1-based) but it works more or less, and it
does exactly what you describe.

But the 7.4 stuff should be much cleaner and more flexible, so if you don't
need it right now you're better off waiting.

-- 
greg



pgsql-sql by date:

Previous
From: Joe Conway
Date:
Subject: Re: casting to arrays
Next
From: "Ramesh Kumar B"
Date:
Subject: Help Me