Subject: | dollar place holders |
I'm using DBD::Pg 1.45, and DBI 1.50
It would seem dollar quoting is broken. I noticed the other bug post and
have not made the same mistake of using qq, where q was required.
Ex:
my $sql = q|SELECT (4 = $1) as test|;
my $sth = $dbh->prepare($sql);
$sth->execute('4');
my $result = $sth->fetchrow_array();
print "$result\n";
Error:
DBD::Pg::st execute failed: called with 1 bind variables when 0 are
needed at ./test.pl line 9.
This is not a problem with 1.43