Re: Insert binary data on postgre

Поиск
Список
Период
Сортировка
От mike g
Тема Re: Insert binary data on postgre
Дата
Msg-id 1088134084.2640.7.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Insert binary data on postgre  ("Eduardo S. Fontanetti" <dufuzzy@yahoo.com.br>)
Ответы Re: Insert binary data on postgre  ("Eduardo S. Fontanetti" <dufuzzy@yahoo.com.br>)
Список pgsql-admin
What data type did you use to define the binary column?  bytea or LO?

On Thu, 2004-06-24 at 14:16, Eduardo S. Fontanetti wrote:
> How can I do to put a file into the PostgreSQL ? I
> have got the contents of file in binary yet and put on
> a String on my APP, but when I try to insert it on
> postgre, it returns to me:
>
> ERROR: parser: unterminated quoted string at or near
> "BMæ»' at character 90
>
> My string:
>
> ConnP.Execute "insert into fotossocios(arquivo)
> values('" & Conteudo & "')"
>
> Could somebody help me how to construct the right
> string ?
>
> Thanks
> Eduardo
>
> ______________________________________________________________________
>
> Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis!
> http://br.info.mail.yahoo.com/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Eduardo S. Fontanetti"
Дата:
Сообщение: Insert binary data on postgre
Следующее
От: Andrew Biagioni
Дата:
Сообщение: Re: Insert binary data on postgre