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

From Radu-Adrian Popescu
Subject Re: Insert binary data on postgre
Date
Msg-id 40DBEC24.9030406@aldratech.com
Whole thread Raw
In response to Insert binary data on postgre  ("Eduardo S. Fontanetti" <dufuzzy@yahoo.com.br>)
List pgsql-admin
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
>

If you're using Java, check out http://doc.postgresintl.com/jdbc/ch08.html

Cheers,
--
Radu-Adrian Popescu
CSA, DBA, Developer
Aldrapay MD
Aldratech Ltd.
+40213212243


pgsql-admin by date:

Previous
From: Andrew Biagioni
Date:
Subject: Re: Insert binary data on postgre
Next
From: "Eduardo S. Fontanetti"
Date:
Subject: Re: Insert binary data on postgre