https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6559
Summary: BayesStore::PgSQL doesn't set bytea format (it's
problematic with postgresql-9.0)
Product: Spamassassin
Version: 3.3.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: spamc/spamd
AssignedTo: [email protected]
ReportedBy: [email protected]
BayesStore::PgSQL assumes bytea format is 'escape'. This format is default in
postgresql <9.0, in postgresql-9.0 default format is 'hex'.
This makes problem when using X-Spam_report:
X-Spam-bayes-token-summary: Tokens: new, 10; hammy, 0; neutral, 45; spammy,
79.
X-Spam-bayes-token-spam: (unknown), (unknown), (unknown),
(unknown), (unknown), (unknown), (unknown), (unknown), (unknown), (unknown)
X-Spam-bayes-token-ham:
I don't know if does it makes more seriously problems.
Imho client should set option SET bytea_output TO 'escape' or BayesStore::PgSQL
should be capable to use 'hex' format (and should check what is default in used
db)
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.