pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Sailer, Denis (YBUSA-CDR) <Denis.Sailer@Yellowbook.com>
Cc: 'pgsql-jdbc@postgresql.org' <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC driver inserting into a table with Bytea type gets
Date: Mon, 21 Jun 2004 14:02:09 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0406211353450.7190@leary.csoft.net> (raw)
In-Reply-To: <58D6EF5727036048BC9E08ECB711A42092F46E@crmsmail.corp.ybusa.net>
References: <58D6EF5727036048BC9E08ECB711A42092F46E@crmsmail.corp.ybusa.net>



On Mon, 21 Jun 2004, Sailer, Denis (YBUSA-CDR) wrote:

> This person was getting out of memory conditions inserting rows when the
> data in the bytea field was larger than approx.  1400 Kb.  This person had
> posted a fix to the group that seemed to work for him.  The inserts were
> coming from a java application using the JDBC driver.
> I just tried the latest JDBC driver and the problem still exists.
> Is this issue acknowledged as a bug?

It is more of a missing feature, "the ability to stream large data to the 
backend."

> If yes, when is this issue going to be implemented in the code base?

There is an outstanding patch by Oliver Jowett, but I have some concerns 
about how it handles errror conditions (it will just drop the connection 
in some cases.)

> If it is already fixed, what are the steps to implement the changes to my
> 7.4.2 installation?  Build my own JDBC driver?

When/if it is applied it will go only into the 7.5 source tree so you can 
use that against your 7.4 server, but for the moment your only option is 
to build your own version of the driver.

The original patch/discussion is here:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&c2coff=1&safe=off&threadm=Pin...

Kris Jurka



view thread (6+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0406211353450.7190@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0406211353450.7190@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0406211353450.7190@leary.csoft.net

 · 

reply

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: books@ejurka.com, Denis.Sailer@Yellowbook.com
  Subject: Re: JDBC driver inserting into a table with Bytea type gets
  In-Reply-To: <Pine.BSO.4.56.0406211353450.7190@leary.csoft.net>
  References: <58D6EF5727036048BC9E08ECB711A42092F46E@crmsmail.corp.ybusa.net> <Pine.BSO.4.56.0406211353450.7190@leary.csoft.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