summaryrefslogtreecommitdiff
path: root/mail/exilog/files/patch-exilog_sql.pm
diff options
context:
space:
mode:
Diffstat (limited to 'mail/exilog/files/patch-exilog_sql.pm')
-rw-r--r--mail/exilog/files/patch-exilog_sql.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/exilog/files/patch-exilog_sql.pm b/mail/exilog/files/patch-exilog_sql.pm
new file mode 100644
index 000000000000..9f1aa3d1099c
--- /dev/null
+++ b/mail/exilog/files/patch-exilog_sql.pm
@@ -0,0 +1,11 @@
+--- /usr/local/www/exilog/exilog_sql.pm Tue Feb 21 16:23:56 2006
++++ exilog_sql.pm Wed Aug 24 09:22:29 2005
+@@ -208,7 +208,7 @@
+ 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;