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 2007/11/24 23:27:29 UTC
[Bug 5730] New: PostgreSQL 8.1 and above shows a lot of warnings "nonstandard use of \\ in a string literal at character ..." when using bayes
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5730
Summary: PostgreSQL 8.1 and above shows a lot of warnings
"nonstandard use of \\ in a string literal at character
..." when using bayes
Product: Spamassassin
Version: 3.2.3
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: spamassassin
AssignedTo: dev@spamassassin.apache.org
ReportedBy: tometzky@batory.org.pl
When using bayes storage using Mail::SpamAssassin::BayesStore::PgSQL module then
a Postgres server logs a lot of warnings:
WARNING: nonstandard use of \\ in a string literal at character (...)
HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
I'll attach a patch that does just that - uses E'\\' syntax if database version
is at least 8.1.0.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5730] PostgreSQL 8.1 and above shows a lot of warnings "nonstandard use of \\ in a string literal at character ..." when using bayes
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5730
parkerm@pobox.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|Undefined |3.3.0
------- Additional Comments From parkerm@pobox.com 2007-11-25 23:27 -------
Thanks for the patch. I've applied it and tested it under 8.2 and 7.4.18.
Sending lib/Mail/SpamAssassin/BayesStore/PgSQL.pm
Transmitting file data .
Committed revision 598150.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5730] PostgreSQL 8.1 and above shows a lot of warnings "nonstandard use of \\ in a string literal at character ..." when using bayes
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5730
------- Additional Comments From tometzky@batory.org.pl 2007-11-24 14:33 -------
Created an attachment (id=4193)
--> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=4193&action=view)
Use escape string syntax for backslashes for PostgreSQL 8.1 and later
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5730] PostgreSQL 8.1 and above shows a lot of warnings "nonstandard use of \\ in a string literal at character ..." when using bayes
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5730
parkerm@pobox.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Mark.Martinec@ijs.si
------- Additional Comments From parkerm@pobox.com 2007-11-24 15:26 -------
*** Bug 5299 has been marked as a duplicate of this bug. ***
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5730] PostgreSQL 8.1 and above shows a lot of warnings "nonstandard use of \\ in a string literal at character ..." when using bayes
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5730
parkerm@pobox.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |parkerm@pobox.com
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.