freebsd-ports/mail/exilog/files/patch-exilog_sql.pm
Sergey Matveychuk ea42e87bab - Fix PostgreSQL support
- Pet portlint
- Unquote BROKEN message
- Use modern USE_RC_SUBR style

PR:		ports/97213
Submitted by:	maintainer
2006-05-15 13:27:30 +00:00

11 lines
337 B
Perl

--- /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;