Re: DBI support for pg native arrays?

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DBI support for pg native arrays?
Date: 2007-01-26 20:26:26
Message-ID: 20070126202626.GB24276@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jan 26, 2007 at 12:00:42PM +0100, Louis-David Mitterrand wrote:
> Hello,
>
> For a "select array(...) as col1, col2, col3 from table" I'd like the DBI
> driver to output col1 as a perl array instead of a scalar
> "{res1,res2,etc.}" representation of it.
>
> Is that somehow possible? I looked at the docs without finding anything.

That would involve the DBI driver converting it, since it's just
returning what the server returns...

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeremy Haile 2007-01-26 20:34:45 Re: Stats collector frozen?
Previous Message Magnus Hagander 2007-01-26 20:24:09 Re: Stats collector frozen?