Hi,
I've got the following bug under linux platform (red
at linux release 6) :
The doQuery function make an infinite loop an crash my
server (consuming all the memory availabled) .
The code is the following :
conn = Pg::connectdb("user=x dbname=x");
( PGRES_CONNECTION_OK eq $conn->status ) and print "Pg::connectdb ........... ok\n" or die "Pg::connectdb
...........not ok: ",
$conn->errorMessage;
Pg::doQuery($conn, "select * from name", \@ary);
$size=\@ary;
for($i=0;$i<$size;$i++) { print "$ary[$i][0] $ary[$i][1] $ary[$i][2]<BR>\n";
}
PQfinish($conn);
Note that this bug does not happen under solaris
platform
Any help would be appreciated
Thanks
___________________________________________________________
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
Yahoo! Messenger : http://fr.messenger.yahoo.com