Subject: | $dbh->quote Problem |
There seeems to be a bug with the quote method in the 1.31_2 version of DBD-Pg.
I'm using amavisd-new which store information in an SQL Database (a Postgresql one for me). For some of the mail that I store in this database I have the folloowing error:
DBD::Pg::st execute failed: ERROR: parser: unterminated quoted string
at or near " ' '
Here is the request I do:
$sth->execute($id_maillog,$dbh->quote($header),$dbh->quote($body));