pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedstreaming bytea: is it possible ?
3+ messages / 2 participants
[nested] [flat]
* streaming bytea: is it possible ?
@ 2006-07-25 16:37 Csaba Nagy <nagy@ecircle-ag.com>
2006-07-25 18:27 ` Re: streaming bytea: is it possible ? Kris Jurka <books@ejurka.com>
0 siblings, 1 reply; 3+ messages in thread
From: Csaba Nagy @ 2006-07-25 16:37 UTC (permalink / raw)
To: pgsql-jdbc
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: streaming bytea: is it possible ?
2006-07-25 16:37 streaming bytea: is it possible ? Csaba Nagy <nagy@ecircle-ag.com>
@ 2006-07-25 18:27 ` Kris Jurka <books@ejurka.com>
2006-07-26 08:02 ` Re: streaming bytea: is it possible ? Csaba Nagy <nagy@ecircle-ag.com>
0 siblings, 1 reply; 3+ messages in thread
From: Kris Jurka @ 2006-07-25 18:27 UTC (permalink / raw)
To: Csaba Nagy <nagy@ecircle-ag.com>; +Cc: pgsql-jdbc
On Tue, 25 Jul 2006, Csaba Nagy wrote:
> I wonder if it is possible to stream bytea fields without reading them
> completely in memory ?
http://archives.postgresql.org/pgsql-jdbc/2006-03/msg00079.php
Kris Jurka
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: streaming bytea: is it possible ?
2006-07-25 16:37 streaming bytea: is it possible ? Csaba Nagy <nagy@ecircle-ag.com>
2006-07-25 18:27 ` Re: streaming bytea: is it possible ? Kris Jurka <books@ejurka.com>
@ 2006-07-26 08:02 ` Csaba Nagy <nagy@ecircle-ag.com>
0 siblings, 0 replies; 3+ messages in thread
From: Csaba Nagy @ 2006-07-26 08:02 UTC (permalink / raw)
To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-jdbc
Kris,
On Tue, 2006-07-25 at 20:27, Kris Jurka wrote:
> On Tue, 25 Jul 2006, Csaba Nagy wrote:
>
> > I wonder if it is possible to stream bytea fields without reading them
> > completely in memory ?
>
> http://archives.postgresql.org/pgsql-jdbc/2006-03/msg00079.php
Thanks for the link, it answers exactly my situation... unfortunately in
a negative sense :-(
Cheers,
Csaba.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2006-07-26 08:02 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-07-25 16:37 streaming bytea: is it possible ? Csaba Nagy <nagy@ecircle-ag.com>
2006-07-25 18:27 ` Kris Jurka <books@ejurka.com>
2006-07-26 08:02 ` Csaba Nagy <nagy@ecircle-ag.com>
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