pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cristóvão Dalla Costa <cbraga@bsi.com.br>
To: pgsql-interfaces@postgresql.org
Subject: DBD::Pg and binary data
Date: Tue, 22 Oct 2002 16:58:43 -0200
Message-ID: <3DB59FE3.50703@bsi.com.br> (raw)

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




Message-ID: <3DB59FE3.50703@bsi.com.br>
Permalink:  ../3DB59FE3.50703@bsi.com.br/
Also on:    postgresql.org/message-id/3DB59FE3.50703@bsi.com.br

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: cbraga@bsi.com.br
  Subject: Re: DBD::Pg and binary data
  In-Reply-To: <3DB59FE3.50703@bsi.com.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox