Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 18209
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: husseinp [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.45
Fixed in: 1.46



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