pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: Werner Donné <werner.donne@pincette.biz>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Streaming bytea implementation offered
Date: Sun, 02 Sep 2012 07:09:10 +0800
Message-ID: <50429596.5070906@ringerc.id.au> (raw)
In-Reply-To: <FC1BF631-720D-4E43-8234-B76415A86C24@pincette.biz>
References: <6EA298B8-34D9-4832-A722-161911A22AB6@pincette.biz>
	<50415F0B.9020504@ringerc.id.au>
	<FC1BF631-720D-4E43-8234-B76415A86C24@pincette.biz>

On 09/01/2012 11:13 PM, Werner Donné wrote:
>
> We will have to fall back on copying the byte array in case a temporary file couldn't be created, for whatever reason.
That's reasonable, especially if we log the fact at debug/trace level 
too, to encourage people to turn the feature off if it doesn't apply in 
their environment.
>> Do you propose to make this always-on, or configurable?
> The treashold could be configurable.
I think it'll need to be, if nothing else to stop people from having 
tempfile issues.
>> How (if at all) does this interact with JDBC-standard BLOB support, and with large objects?
> It has no effect on either.
I suspected not, but it's good to confirm. Thanks.

> I have never used git, nor have I written unit tests, but I'll have a look.

If you've used any SCM like CVS, Subversion, or Perforce the principles 
are similar for basic use. I highly recommend it. This'll be handy:

https://help.github.com/

GitHub have spent a lot of time and effort writing documentation and 
tutorials for git.

Sorry to ask you to do that; I'd probably just grab the source tarball 
and pick through it, but I'm on a travelling holiday for the next couple 
of weeks and just trying to check in on the mailing list sometimes.

--
Craig Ringer

view thread (5+ messages)

Message-ID: <50429596.5070906@ringerc.id.au>
Permalink:  ../50429596.5070906@ringerc.id.au/
Also on:    postgresql.org/message-id/50429596.5070906@ringerc.id.au

 · 

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: ringerc@ringerc.id.au, werner.donne@pincette.biz
  Subject: Re: Streaming bytea implementation offered
  In-Reply-To: <50429596.5070906@ringerc.id.au>
  References: <6EA298B8-34D9-4832-A722-161911A22AB6@pincette.biz> <50415F0B.9020504@ringerc.id.au> <FC1BF631-720D-4E43-8234-B76415A86C24@pincette.biz> <50429596.5070906@ringerc.id.au>

* 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