On 16 November 2010 18:12, Jeremy Evans <[email protected]> wrote:

> The Sequel postgres adapter uses PGconn#escape_string to escape
> strings [1], so if there is a problem with String escaping, it's
> caused by pg doing the escaping to \XXX.  Does this escaping cause an
> error?
>

Actually I fixed the issue by calling #to_s on the string before inserting
it in postgres. I suppose mysql returns a strange unicode string for text
fields?

J.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to