in reply to Re^3: DBD message diagnostic?
in thread DBD message diagnostic?
Are you sure?
Yes. Quite sure. This script (just userid & password obscured):
#! perl -sw use 5.010; use strict; use threads; use DBI; my $dbh = DBI->connect("dbi:Pg:dbname=junk", '******', '********'); say $dbh; my $sth = $dbh->prepare( 'Select * from fred' ); $sth->execute; while( my @row = $sth->fetchrow_array ) { say "@row"; }
Produces this output:
c:\test>DB.pl DBI::db=HASH(0x40ae870) 1 fred 2 bill 3 jack 4 joe
So, maybe PgPP followed Pg's POD and not it's behaviour?
|
|---|