You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/02/24 22:36:38 UTC

[Bug 3079] New: BayesStoreSQL.pm only works once with DBD:Pg

http://bugzilla.spamassassin.org/show_bug.cgi?id=3079

           Summary: BayesStoreSQL.pm only works once with DBD:Pg
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: major
          Priority: P5
         Component: spamc/spamd
        AssignedTo: spamassassin-dev@incubator.apache.org
        ReportedBy: bugzilla@chrysalink.net


When using Postgres to store bayes data, it works correctly processing the first submitted message.
However, all subsequent messages give the following error:

debug: ---- MIME PARSER END ----
DBD::Pg::st execute failed: server closed the connection unexpectedly at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/BayesStoreSQL.pm line 996, <GEN421> line 73.
debug: bayes: _get_db_version: SQL Error 2: server closed the connection unexpectedly
debug: bayes: found bayes db version 0

This happens whether or not SQL is used for userprefs/awls.

Tested on FreeBSD 5.1-RELEASE, Postgres 7.3.2, perl 5.6.1, DBD::Pg 1.2.1, with latest latest CVS version of 2.70

My perl is too sketchy to track down where the connection is being lost, but will happily try any suggestions.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.