Обсуждение: DBD::Pg and binary data

Поиск
Список
Период
Сортировка

DBD::Pg and binary data

От
Cristóvão Dalla Costa
Дата:
Hi

I've stumbled across a problem inserting binary data (jpeg and png 
images) into bytea fields. DBD::Pg doesn't do the proper scaping, and 
I'm quite unsure of how to do it properly. Of course, I could just use 
base64 but I'd like to be able to service the data without another 
decoding pass.

Thanks in advance.

Cristóvão