Re: Insert binary data on postgre
От | Eduardo S. Fontanetti |
---|---|
Тема | Re: Insert binary data on postgre |
Дата | |
Msg-id | 20040628135024.57625.qmail@web40711.mail.yahoo.com обсуждение исходный текст |
Ответ на | Re: Insert binary data on postgre (Frank Knobbe <frank@knobbe.us>) |
Список | 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 по дате отправления: