Subject: | Doesn't handle some explicit conversion anymore |
This snipped of code used to work but doesn't since several versions :
use DBI;
my $dbh = DBI->connect( 'DBI:Pg:host=localhost', undef,undef, {
RaiseError => 1 });
my $sth = $dbh->prepare('select interval ?');
$sth->execute( '1 hour' );
You get the following error :
DBD::Pg::st execute failed: ERROR: syntax error at or near "$1" at
character 17
This bug has been reported initially in the Debian Bug Tracking System:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321917
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315708