pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Som <shekhar@easi.soft.net>
To: pgsql-sql@postgresql.org
Subject: Insertion and Retrieval of BLOB
Date: Thu, 25 Jan 2001 10:20:27 +0530
Message-ID: <3A6FB093.27AA747@easi.soft.net> (raw)

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi Everybody,
<br>There are two methods we can insert and retrieve image from db.
<br>One is by JDBC way , another is by Postgres extensions.
<p>I have problem with both while implementing.
<br>If im trying to retrieve the image (which is stored in OID type) by
Postgres extensions,
<p>Ex: using LargeObjectManager lobj;
<br>LargeObject&nbsp; lobj.open(OID);
<br>Exception&nbsp;&nbsp;&nbsp; :<b>Fast path protocol error: Z</b>
<p>If im trying insert image by&nbsp; JDBC way i.e&nbsp; by getBinaryStream()a
and setBinaryStreams() methods of PreparedStatement
<br>Im getting Exception saying :
<br>Exception : <b>InputStream parameter is not supported.</b>
<p>any idea ?
<p>--
<br>&nbsp;Som
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<p>--
<br>&nbsp;</html>




Message-ID: <3A6FB093.27AA747@easi.soft.net>
Permalink:  ../3A6FB093.27AA747@easi.soft.net/
Also on:    postgresql.org/message-id/3A6FB093.27AA747@easi.soft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: shekhar@easi.soft.net
  Subject: Re: Insertion and Retrieval of BLOB
  In-Reply-To: <3A6FB093.27AA747@easi.soft.net>
  References: <3A6FB093.27AA747@easi.soft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox