Bug Tracker item #2881853, was opened at 2009-10-19 16:28
Message generated for change (Tracker Item Submitted) made by diekhans
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2881853&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: daemon
Group: v3.9.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mark Diekhans (diekhans)
Assigned to: Nobody/Anonymous (nobody)
Summary: postgres duplicate key errors

Initial Comment:
Trying to train on around 10,000 message via email to spam@, results in a large 
number of errors like:

postgres[74634]: [16-1] ERROR:  duplicate key value violates unique constraint 
"dspam_token_data_uid_key"
postgres[74634]: [16-2] STATEMENT:  PREPARE dspam_update_plan (bigint) AS 
UPDATE dspam_token_data SET last_hit=CURRENT_DATE,spam_hits=spam_hits+1 WHERE
postgres[74634]: [16-3]  uid=1003 AND token=$1;PREPARE dspam_insert_plan 
(bigint,int,int) AS INSERT INTO dspam_token_data
postgres[74634]: [16-4]  (uid,token,spam_hits,innocent_hits,last_hit) VALUES 
(1003,$1,$2,$3,CURRENT_DATE);

thanks.  I can test changes..


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2881853&group_id=250683

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to