Posted on 2005-09-28 09:16:24-07 by billclinton
bug when returning long strings
hello, i've got a bug on long string result i got a error when my SELECT returns a 8ko string :

DBD::PgPP::st execute failed: Unknown message type: '' at C:/dev/Perl/site/lib/DBD/PgPP.pm line 713 Can't call method "fetch" on an undefined value at C:/dev/Perl/site/lib/DBD/PgPP.pm line 403.

i try my sql directly on the bdd and it worked

so i try an easy query (with more AAAA) :
my $sqls = "select 1, 'AAAAAAA'"; $sth = $dbh->prepare($sqls); $sth->execute(); while ( ($prefixe_fich, $donnees) = $sth->fetchrow_array)
error occured for 4353 'A'
and then i tried :
my $sqls = "select 'AAAAAAA'";
and error occured for 4376 'A' i've seen the page at : 'http://www.cpan.org/authors/id/A/AR/ARC/DBD-PgPP-0.05.readme'

and checked the point limitation point : 'Can't use BLOB data'

so my question is 'Is the driver limited for the return values ?'
Direct Responses: 1069 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.