From: Csaba Nagy <nagy@ecircle-ag.com>
To: Postgres JDBC <pgsql-jdbc@postgresql.org>
Subject: streaming bytea: is it possible ?
Date: Tue, 25 Jul 2006 18:37:33 +0200
Message-ID: <1153845453.22367.41.camel@coppola.muc.ecircle.de> (raw)
Hi all,
I wonder if it is possible to stream bytea fields without reading them
completely in memory ?
The reason I want that is because I want to use slony1 to replicate some
tables containing BLOBs, and slony can't handle BLOBs. So I would like
to convert the BLOBs to bytea (which can be handled properly by slony1),
but I can't afford to load the complete BLOBs in memory, I only need to
stream them. Now I wonder if the postgres JDBC implementation/postgres
server is capable of doing that, or any of them needs to have the
complete bytea in memory at one point...
Of course I could check the source but if any of you knows it offhand I
would appreciate an answer.
Thanks,
Csaba.
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-jdbc@postgresql.org
Cc: nagy@ecircle-ag.com
Subject: Re: streaming bytea: is it possible ?
In-Reply-To: <1153845453.22367.41.camel@coppola.muc.ecircle.de>
References: <1153845453.22367.41.camel@coppola.muc.ecircle.de>
* 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