From: Michael Monnerie <michael.monnerie@it-management.at>
To: pgsql-admin@postgresql.org
Subject: Re: duplicate primary index in bayes db from SpamAssassin
Date: Fri, 18 Apr 2008 01:28:14 +0200
Message-ID: <200804180128.15120@zmi.at> (raw)
In-Reply-To: <20473.1208446891@sss.pgh.pa.us>
References: <200804141757.21574@zmi.at>
<200804170945.51400@zmi.at>
<20473.1208446891@sss.pgh.pa.us>
On Donnerstag, 17. April 2008 Tom Lane wrote:
> This latest bit with many fewer index entries than table entries is
> just weird, though. The 8.1.10 VACUUM bug could have led to having
> *more* index entries than table entries, but not the other way
> around.
Somehow I can think of it like that: SA didn't find user "vscan"
anymore, so created a new entry for it. And then it created all the new
learned ham/spam tokens again despite they were there already. Must
have to do with not finding it from the index or so.
It would be nice if pg_dump would FAIL on such a broken database. Like
this, I would have become informed about the problem. The bayes db
isn't quite interactive, and SA seems to ignore errors. The reason I
found it was that our SPAM filter started to let spam through which did
not happen for years (yes, we have *very hard* anti spam settings, our
customers love it that way - no spam). So I got aware that bayes got
stupid and then I found the mess...
mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0676/846 914 666 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4
// Keyserver: www.keyserver.net Key-ID: 1C1209B4
Attachments:
signature.asc (application/pgp-signature, 193B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: michael.monnerie@it-management.at
Subject: Re: duplicate primary index in bayes db from SpamAssassin
In-Reply-To: <200804180128.15120@zmi.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox