good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: postgresql bytea escapingby tantarbobus (Hermit) |
on Jan 10, 2006 at 16:13 UTC ( [id://522222]=note: print w/replies, xml ) | Need Help?? |
How about just using the C API (via DBD::Pg) provided by pg? So: $quoted_data = $dbh->quote($data, PG_BYTEA)
In Section
Seekers of Perl Wisdom
|
|