Re: Insert binary data on postgre - Mailing list pgsql-admin

From Eduardo S. Fontanetti
Subject Re: Insert binary data on postgre
Date
Msg-id 20040628135024.57625.qmail@web40711.mail.yahoo.com
Whole thread Raw
In response to Re: Insert binary data on postgre  (Frank Knobbe <frank@knobbe.us>)
List pgsql-admin
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/

pgsql-admin by date:

Previous
From: Frank Knobbe
Date:
Subject: Re: Insert binary data on postgre
Next
From: "Tony and Bryn Reina"
Date:
Subject: Re: Password with libpq