[exim] exilog query

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: [exim] exilog query
Does this error mean anything to anyone? Tom?

DBD::Pg::st execute failed: ERROR: parser: parse error at or near
"OPTIMIZE" at character 1 at
/usr/local/exilog/bin/../Exilog/exilog_sql.pm line 201.


The routine in question looks like:

sub _pgsql_sql_optimize {
my $where = shift || "nothing";

my $sql = "OPTIMIZE TABLE ".$where;
my $sh = $dbh->prepare($sql);
$sh->execute;
$sh->finish;

return 1;
};



Thanks,
    Jeremy