I would like to use a bytea column to store arbitrary files. I am trying to
do this in perl and am wondering how to go about it. The docs for
postgresql suggest some pretty elaborate quoting, etc. If I use perl DBI,
the docs suggest that I need to do some explicit column datatype binding
(namely DBD::Pg::PG_BYTEA). What is the accepted way of inserting a binary
string into a bytea column in perl?
Thanks,
Sean