Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group