Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 39156
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: greg [...] turnstep.com
Requestors: ahitrov [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: new DBD-Pg prepare-execute doesn't initialise intarray values
Date: Wed, 10 Sep 2008 17:57:22 +0400
To: bug-DBD-Pg [...] rt.cpan.org
From: "Andrew V. Hitrov" <AHitrov [...] rambler-co.ru>
Hello bug-DBD-Pg, During testing the new DBD::Pg i've encounted the next problem: fields described in database as integer[] (intarray) are not become initialised in prepare-execute request. The field is returned with undef value in all cases, no matter what value is exactly stored in the database. The last working version I know is 1.49, but i didn't test this feature on all the next versions. $ uname -a FreeBSD zoo.rambler.ru 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #1: Thu Feb 15 17:00:27 MSK 2007 $ pkg_info | grep -i db [only showing relevant ones] p5-Class-DBI-3.0.17 Simple Database Abstraction p5-DBD-Pg-2.9.0 Provides access to PostgreSQL databases through the DBI $ pkg_info | grep postgres postgresql-client-8.3.3 PostgreSQL database (client) postgresql-server-8.2.9 The most advanced open-source database available anywhere $ perl -v This is perl, v5.8.8 built for amd64-freebsd (with 1 registered patch, see perl -V for more detail) -- С уважением, Андрей Хитров mailto:AHitrov@rambler-co.ru программист департамента WEB-проектов ООО "Интернет Холдинг Рамблер"
Please try a more recent version (current is 2.10.5, and has some array-related fixed from 2.9.0). If that does not work, please provide an example script that shows the problem. Thanks.
Could not duplicate: assuming fixed as 1.49 is quite old.