Some queries

From: Som <shekhar(at)easi(dot)soft(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Some queries
Date: 2001-01-24 11:53:12
Message-ID: 3A6EC228.E57B750E@easi.soft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<b>Dear sir,</b><b></b>
<p><b>Q 1)</b>
<br>While retrieving BLOBs from the database...
<br>There is an Exception displaying : with message...
<br><b>Fast path protocol error : z</b>
<br>Eventhough i am importing like :
<br><b>import postgresql.fastpath.*;</b>
<br><b>import postgresql.largeobject.*;</b><b></b>
<p>and connecting :
<br>&nbsp;&nbsp;&nbsp; Fastpath fp;
<br>&nbsp; LargeObjectManager lobj;
<br>&nbsp;&nbsp;&nbsp; lobj = ((postgresql.Connection)conn).getLargeObjectAPI();//&nbsp;&nbsp;&nbsp;&nbsp;
...code that opens a connection ...
<br>&nbsp;&nbsp;&nbsp; fp = ((postgresql.Connection)conn).getFastpathAPI();
//Fastpath object allowing access to functions on the postgresql backend.
<p>by osing lobj i want to get Image directy into HTML by&nbsp; lobj.open(OID).
<p>&nbsp;
<br><b>Q 2)</b>
<br>Is it posiible to get LargeObjects from database and display in HTML.
<br>Ex: I want to display image file dynamically by retrieving database
, without
<br>&nbsp;using streams . i.e without creating file and storing it to disk.
<p>Could you answer these queries ...and reply back ASAP..
<br>If there are any such methods pls. send me the code too..
<p>Rgds
<br>Som
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;</html>

Attachment Content-Type Size
unknown_filename text/html 1.3 KB

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2001-01-24 12:19:08 Re: Use of INNER JOIN and others ??!?
Previous Message Sandis Jerics 2001-01-24 11:50:04 i have a big trouble