Re: from pgsql_perl5 to DBD-Pg



At pg. 149, the book "Programming PERL DBI" says that the method "do"
"should not be used for SELECT statements because it does not return a
statement handle (so you can't fetch any data)". I guess this is the
reason for the above error, and the reason for an annoying rewriting,
as the following does not work.

# [1]: $dbh->exec("<SQL STATEMENT>");
# [2]: $dbh->do("<SQL STATEMENT>");


.