diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-09-10 03:57:42 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-09-10 03:57:42 +0000 |
commit | 46c948a2165d141ff99845a7fed662435110f602 (patch) | |
tree | 67a943b63150adfa258675295ee05d9ebf6ea938 /mail-filter/dspam | |
parent | Stable for HPPA (bug #191280). (diff) | |
download | gentoo-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.cron | 2 |
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 |