pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Knobbe <frank@knobbe.us>
To: Eduardo S. Fontanetti <dufuzzy@yahoo.com.br>
Cc: pgsql-admin@postgresql.org
Subject: Re: Insert binary data on postgre
Date: Sun, 27 Jun 2004 23:51:51 -0500
Message-ID: <1088398310.1105.13.camel@localhost> (raw)
In-Reply-To: <20040625124309.92102.qmail@web40712.mail.yahoo.com>
References: <20040625124309.92102.qmail@web40712.mail.yahoo.com>

On Fri, 2004-06-25 at 07:43, Eduardo S. Fontanetti wrote:
> I forgot a little, or better, a big detail, to do this
> translating from binary to ANSI of a file with 100Kb,
> it will return something like 500000 bytes, and this
> process is very, very and very slow. Then I need to
> use another way.

Have you considered uuencoding or binhexing the data so that you end up
with a "clean" string you can commit? (It will still suck up twice the
file size in space though).

Regards,
Frank

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (9+ messages)  latest in thread

Message-ID: <1088398310.1105.13.camel@localhost>
Permalink:  ../1088398310.1105.13.camel@localhost/
Also on:    postgresql.org/message-id/1088398310.1105.13.camel@localhost

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: frank@knobbe.us, dufuzzy@yahoo.com.br
  Subject: Re: Insert binary data on postgre
  In-Reply-To: <1088398310.1105.13.camel@localhost>
  References: <20040625124309.92102.qmail@web40712.mail.yahoo.com> <1088398310.1105.13.camel@localhost>

* 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