On Tue, 2006-05-30 at 09:05 -0700, [EMAIL PROTECTED] wrote: > Did you try escaping the data: > my $rc=$sth->bind_param(1, escape_bytea($imgdata), { pg_type => > DBD::Pg::PG_BYTEA });
No. But: $ ./test Undefined subroutine &main::escape_bytea called at ./test line 34. Where can I find one? $ grep -Rl escape_bytea /usr/share/perl* /usr/lib/perl* ... returns nothing. Neither is listed among: psql>\df output. Where should I look for it? -- -R ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq