Re: Insert binary data on postgre

From: Radu-Adrian Popescu <radu(dot)popescu(at)aldratech(dot)com>
To: "Eduardo S(dot) Fontanetti" <dufuzzy(at)yahoo(dot)com(dot)br>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Insert binary data on postgre
Date: 2004-06-25 09:11:00
Message-ID: 40DBEC24.9030406@aldratech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Eduardo S. Fontanetti 2004-06-25 12:17:38 Re: Insert binary data on postgre
Previous Message Jan Norman Pedersen 2004-06-25 07:16:58 Re: rules