From: Martin Kaletsch Date: 2005-05-16T23:20:31+09:00 Subject: Encode strings for bytea (postgres) with dbi Hello! I don't know if I just don't get it, but are there any functions encoding binary data for inserting into bytea columns in a postgresql db? All I found in dbi (0.0.23) and ruby-postgres (0.7.1) seems rather low-level. Does anybody have an example handy, or should I do the escapes by hand? -- Martin Kaletsch