From: LAN ZHANG <zhang-lan@usa.net>
To: pgsql-interfaces@postgresql.org
Subject: Problems with large objects
Date: 7 Oct 99 10:51:55 CDT
Message-ID: <19991007155155.1816.qmail@www0r.netaddress.usa.net> (raw)
Hi,
I am using the new jdbc6.5-1.2 to store the large objects.
The code is the following:
LargeObjectManager lom =
((postgresql.Connection)con).getLargeObjectAPI();
System.out.println("creating blob to store image...");
oid1 = lom.create();
LargeObject blob = lom.open(oid1);
blob.write(buf,0,buf.length);
blob.close();
But when it execute the oid1=lom.create(), it gave me this error message:
FastPath protocol error: Z
The old jdbc6.5-1.2 works fine for this program.
-- Lan
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: zhang-lan@usa.net
Subject: Re: Problems with large objects
In-Reply-To: <19991007155155.1816.qmail@www0r.netaddress.usa.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