[rt-users] 2.x > 3.x

Philip Warner pjw at rhyme.com.au
Wed Mar 19 01:33:54 EST 2003


At 12:40 PM 12/03/2003 -0500, Jesse Vincent wrote:
>Interesting. That sort of sounds like a bug in DBD::pgsql's quoting
>mechanism.

There is a bug in there somewhere. The problem is that the DBD::Pg people 
can't think of a way to fix it transparently. The current suggestion is to 
check if the driver is Pg, and use bind_param to specify { pg_type => 
DBD::Pg::PG_BYTEA } for those columns that you know are bytea. Which is 
obviously a problem.

This is a problem in rc2, at least, since any message containing a 
backslash will silently fail to be stored when sent through the mail gateway.



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                  |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/




More information about the rt-users mailing list