Re: generic way to retrieve array as rowset - Mailing list pgsql-general

From Greg Stark
Subject Re: generic way to retrieve array as rowset
Date
Msg-id 87ek3o6gsv.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: generic way to retrieve array as rowset  (SunWuKung <Balazs.Klein@axelero.hu>)
Responses Re: generic way to retrieve array as rowset
List pgsql-general
SunWuKung <Balazs.Klein@axelero.hu> writes:

> Thank you both, I will make good use of this.
>
> On a side note: isn't it a pity this has to be so difficult?

It doesn't have to be.

Look in the contrib directory, build the intagg module (or if you use debian
install the postgresql-contrib package) and then:

  SELECT id, int_array_enum(val) FROM t7

--
greg

pgsql-general by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: When it is better to use "timestamp without time zone"?
Next
From: Joe Conway
Date:
Subject: Re: [Pgsqlrpms-hackers] Re: DBlink documentation