Skip site navigation (1) Skip section navigation (2)

Re: DBI support for pg native arrays?

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DBI support for pg native arrays?
Date: 2007-01-30 20:17:33
Message-ID: 7e58e5279fbd244ee0eddb611a42b449@biglumber.com (view raw or flat)
Thread:
Lists: pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> 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.

It is not currently possible, but it is being worked on as part of the next
version of DBD::Pg.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation
PGP Key: 0x14964AC8 200701301513
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFFv6cFvJuQZxSWSsgRA1VIAJ4uMKHQkIWOhwzUB2Z4hbzy++lNzQCeLQfV
ascTtxEn/6oNXgnomuycJXc=
=CQQ/
-----END PGP SIGNATURE-----



In response to

pgsql-general by date

Next:From: Mark WalkerDate: 2007-01-30 20:24:42
Subject: Re: Any Plans for cross database queries on the same server?
Previous:From: TimasmithDate: 2007-01-30 20:17:19
Subject: Re: SQL to get a table columns comments?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group