pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eduardo S. Fontanetti <dufuzzy@yahoo.com.br>
To: pgsql-admin@postgresql.org
Subject: Re: Insert binary data on postgre
Date: Mon, 28 Jun 2004 10:50:24 -0300 (ART)
Message-ID: <20040628135024.57625.qmail@web40711.mail.yahoo.com> (raw)
In-Reply-To: <1088398310.1105.13.camel@localhost>

Yes, I've tried, but it is very slow to uuencode.

But I found another thing very better, the functions
lo_import and lo_export.

It solved my problem, really very good!!

Thanks a lot for all the help!

Eduardo

--- Frank Knobbe <frank@knobbe.us> escreveu: > 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
> 
> 

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc
 

______________________________________________________________________

Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis!
http://br.info.mail.yahoo.com/



view thread (9+ messages)

Message-ID: <20040628135024.57625.qmail@web40711.mail.yahoo.com>
Permalink:  ../20040628135024.57625.qmail@web40711.mail.yahoo.com/
Also on:    postgresql.org/message-id/20040628135024.57625.qmail@web40711.mail.yahoo.com

 · 

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: dufuzzy@yahoo.com.br
  Subject: Re: Insert binary data on postgre
  In-Reply-To: <20040628135024.57625.qmail@web40711.mail.yahoo.com>
  References: <1088398310.1105.13.camel@localhost> <20040628135024.57625.qmail@web40711.mail.yahoo.com>

* 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