Re: array datatype supported by Perl DBI with Postgres DBD ?

From: Michael Andreen <harv(at)ruin(dot)nu>
To: pgsql-general(at)postgresql(dot)org
Cc: "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com>, Vick Khera <vivek(at)khera(dot)org>
Subject: Re: array datatype supported by Perl DBI with Postgres DBD ?
Date: 2009-09-10 17:14:24
Message-ID: 200909101914.25591.harv@ruin.nu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday 10 September 2009 18:28:28 Gauthier, Dave wrote:
> I have an old O'Reilly "Programming the Perl DBI" and it doesn't mention
> supoprt of these things. I suppose that this might be because some DBs
> don't support them. But PG does, and I was wondering how it would pass
> column data which is an array when using something like
> fetchall_arrayref(). Is there a doc for this somewhere? I googled around
> for a while and didn't see anything.

Best thing to do is look up the documentation on cpan for the version you
have.

http://search.cpan.org/~turnstep/DBD-Pg-2.15.1/Pg.pm#Array_support

Has been there since 2.0.0.

/Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-09-10 17:38:22 Re: COPY command character set
Previous Message Christopher Condit 2009-09-10 17:09:47 Re: query speed question