From: Som <shekhar@easi.soft.net>
To: pgsql-sql@postgresql.org
Subject: Some queries
Date: Wed, 24 Jan 2001 17:23:12 +0530
Message-ID: <3A6EC228.E57B750E@easi.soft.net> (raw)
<!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> Fastpath fp;
<br> LargeObjectManager lobj;
<br> lobj = ((postgresql.Connection)conn).getLargeObjectAPI();//
...code that opens a connection ...
<br> 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 lobj.open(OID).
<p>
<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> 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>
<br>
<br> </html>
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: Some queries
In-Reply-To: <3A6EC228.E57B750E@easi.soft.net>
References: <3A6EC228.E57B750E@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