> After creating an UTF8 database ("createdb --encoding "UTF8" ...) containing BYTEA >columns the parser rejects insert queries with binary data because they're not UTF8 >encoded (escaping doesn't help ;-).
I don't kno how exactly escaped them, but you need to escape bytes > 0x7f (PQescapebytea has been fixed in that way in current). Or you could cast them as bytea. -- Tatsuo Ishii ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster