http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5299





------- Additional Comments From [EMAIL PROTECTED]  2007-01-18 08:54 -------
> What version of DBD::Pg are you using?

perl -MDBD::Pg -le 'print DBD::Pg->VERSION'
1.49

perl -MDBI -le 'print DBI->VERSION'
1.53


> You're using BYTEA as the type for the token column?

Yes. Schema is as per SA documentation in a sql subdirectory.

mail_bayes=# \d bayes_token

            Table "public.bayes_token"
   Column   |  Type   |         Modifiers
------------+---------+----------------------------
 id         | integer | not null default 0
 token      | bytea   | not null default ''::bytea
 spam_count | integer | not null default 0
 ham_count  | integer | not null default 0
 atime      | integer | not null default 0
Indexes:
    "bayes_token_pkey" PRIMARY KEY, btree (id, token)
    "bayes_token_idx1" btree (token)


> Can you confirm if this works on earlier version of PostgreSQL?

I'll see if I can put on PostgreSQL 7.4.15 on some host somewhere.
It probaby suffices to check if it accepts the syntax E'...'
for strings. Perhaps a look into docs would suffice.

Btw, this three levels of quoting ('\\\\\\\\') looks kinda clumsy,
I wonder if something cleaner could be devised.

  Mark





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

Reply via email to