summaryrefslogtreecommitdiff
path: root/mail/exilog/files/patch-exilog__sql.pm
blob: 0a22b977a3772e275593ece80a020ac5db244ec3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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;