summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-09-10 03:57:42 +0000
committerAlin Năstac <mrness@gentoo.org>2007-09-10 03:57:42 +0000
commit46c948a2165d141ff99845a7fed662435110f602 (patch)
tree67a943b63150adfa258675295ee05d9ebf6ea938 /mail-filter/dspam
parentStable for HPPA (bug #191280). (diff)
downloadgentoo-2-46c948a2165d141ff99845a7fed662435110f602.tar.gz
gentoo-2-46c948a2165d141ff99845a7fed662435110f602.tar.bz2
gentoo-2-46c948a2165d141ff99845a7fed662435110f602.zip
use vacuum --analyse instead --full (#191271)
(Portage version: 2.1.2.12)
Diffstat (limited to 'mail-filter/dspam')
-rw-r--r--mail-filter/dspam/files/dspam.cron2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail-filter/dspam/files/dspam.cron b/mail-filter/dspam/files/dspam.cron
index b617bcd1c6b6..f17b4dc87fa9 100644
--- a/mail-filter/dspam/files/dspam.cron
+++ b/mail-filter/dspam/files/dspam.cron
@@ -193,7 +193,7 @@ clean_pgsql_drv() {
# Optimize the PostgreSQL tables for DSPAM
for foo in dspam_preferences dspam_signature_data dspam_stats dspam_token_data dspam_virtual_uids
do
- PGUSER="${DSPAM_PgSQL_USER}" PGPASSWORD="${DSPAM_PgSQL_PWD}" /usr/bin/vacuumdb -q -U "${DSPAM_PgSQL_USER}" -d "${DSPAM_PgSQL_DB}" -p "${DSPAM_PgSQL_PORT}" -h "${DSPAM_PgSQL_HOST}" -f -t "${foo}" >/dev/null 2>&1
+ PGUSER="${DSPAM_PgSQL_USER}" PGPASSWORD="${DSPAM_PgSQL_PWD}" /usr/bin/vacuumdb -q -U "${DSPAM_PgSQL_USER}" -d "${DSPAM_PgSQL_DB}" -p "${DSPAM_PgSQL_PORT}" -h "${DSPAM_PgSQL_HOST}" -z -t "${foo}" >/dev/null 2>&1
_RC=$?
if [ ${_RC} != 0 ]
then