ports/mail/exilog/files/patch-exilog__sql.pm
Oleksii Samorukov add1cc6abc mail/exilog: fix to be compatible with new exim msgid format
Recently exim changed msgid format, so tool does not work correctly
anymore. I tried to contact upstream but no reply so far. Also some
minor changes to make portlint happy
2024-04-04 11:37:40 +02:00

11 lines
321 B
Perl

--- exilog_sql.pm.orig 2005-08-24 14:22:29 UTC
+++ exilog_sql.pm
@@ -208,7 +208,7 @@ sub _pgsql_sql_queue_add {
sub _pgsql_sql_optimize {
my $where = shift || "nothing";
- my $sql = "OPTIMIZE TABLE ".$where;
+ my $sql = "VACUUM ANALYZE ".$where;
my $sh = $dbh->prepare($sql);
$sh->execute;
$sh->finish;