Vincent...
> This would be a problem related to php, not postgres. I'm handling binary data
> in parameterized and COPY queries just fine with c++.
I'm not ruling-out PHP, but I've seen claims of pg_[un]escape_bytea
being only wrappers to the Pg functions.
-- Gary Chambers
// Nothing fancy and nothing Microsoft!