Re: streaming access to bytea data - Mailing list pgsql-jdbc

From David Durham
Subject Re: streaming access to bytea data
Date
Msg-id 441B53DE.50909@vailsys.com
Whole thread Raw
In response to Re: streaming access to bytea data  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Kris Jurka wrote:
> On Fri, 17 Mar 2006, David Durham wrote:
>
>> 1 - Does Postgres server load the entire bytea column before sending
>> to clients?
>
> Yes.

ok

> The JDBC driver doesn't support streaming reads, nor does any other
> client interface.  You would need to extend the frontend/backend
> protocol to return some sort of pointer to the bytea reference rather
> than the whole thing.  This will still require the server to store the
> whole bytea result somewhere to allow it to be pointed to.
>
> Perhaps you should think about using large objects instead of bytea?

Thanks for the quick response, and the exact information that I needed.
  Unfortunately large objects don't work with Slony replication.

Thanks again,

Dave

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: streaming access to bytea data
Next
From: "Andrew Madu"
Date:
Subject: HowTo change keyStore location and KeyStore Password