Received: from easi.soft.net. (server.easi.soft.net [164.164.23.5]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0OBgs090400 for ; Wed, 24 Jan 2001 06:42:55 -0500 (EST) (envelope-from shekhar@easi.soft.net) Received: from easi.soft.net (pcl50.easi.soft.net [100.0.0.150]) by easi.soft.net. (8.8.8/8.8.8) with ESMTP id RAA01813 for ; Wed, 24 Jan 2001 17:17:21 +0530 Message-ID: <3A6EC228.E57B750E@easi.soft.net> Date: Wed, 24 Jan 2001 17:23:12 +0530 From: Som Reply-To: shekhar@easi.soft.net Organization: Easi X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Some queries Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200101/318 X-Sequence-Number: 990 Dear sir,

Q 1)
While retrieving BLOBs from the database...
There is an Exception displaying : with message...
Fast path protocol error : z
Eventhough i am importing like :
import postgresql.fastpath.*;
import postgresql.largeobject.*;

and connecting :
    Fastpath fp;
  LargeObjectManager lobj;
    lobj = ((postgresql.Connection)conn).getLargeObjectAPI();//     ...code that opens a connection ...
    fp = ((postgresql.Connection)conn).getFastpathAPI(); //Fastpath object allowing access to functions on the postgresql backend.

by osing lobj i want to get Image directy into HTML by  lobj.open(OID).

 
Q 2)
Is it posiible to get LargeObjects from database and display in HTML.
Ex: I want to display image file dynamically by retrieving database , without
 using streams . i.e without creating file and storing it to disk.

Could you answer these queries ...and reply back ASAP..
If there are any such methods pls. send me the code too..

Rgds
Som