Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TBl3h-0008Oe-CY for pgsql-jdbc@postgresql.org; Wed, 12 Sep 2012 11:24:41 +0000 Received: from nyc15.sns-usa.com ([173.231.131.23]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TBl3e-0002Kr-4S for pgsql-jdbc@postgresql.org; Wed, 12 Sep 2012 11:24:40 +0000 Received: from corsica.owlnet (adsl-074-167-245-083.sip.rmo.bellsouth.net [74.167.245.83]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by nyc15.sns-usa.com (Postfix) with ESMTP id D028B370047; Wed, 12 Sep 2012 07:24:36 -0400 (EDT) Date: Wed, 12 Sep 2012 07:24:35 -0400 (Eastern Daylight Time) From: Scott Harrington To: Dave Cramer cc: pgsql-jdbc@postgresql.org Subject: Re: send/receive buffer size In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (WNT 1167 2008-08-23) X-X-Sender: scotth@mx7.forexster.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201209/19 X-Sequence-Number: 23255 Hi Dave, I understand completely - I will "enrich" the LocalAddress patch at least with documentation, but as for a test case, I am not sure we can pick an appropriate value for the localAddress (possibly "127.0.0.1" ?) that would work reliably in different environments. Suggestions? On Wed, 12 Sep 2012, Dave Cramer wrote: > Scott, > > As you can see the code patch is one thing. I also have to add > documentation, and test cases. It would be much easier if those > things were also included in the patch. > > > Dave Cramer > > dave.cramer(at)credativ(dot)ca > http://www.credativ.ca > > > On Wed, Sep 12, 2012 at 6:47 AM, Scott Harrington wrote: >> Thank you Dave, will you consider the localAddress patch also? >> >> >> On Tue, 11 Sep 2012, Dave Cramer wrote: >> >>> I've applied this patch with changes to use camelCase for >>> sendBufferSize, and receiveBufferSize to 9.2 >>> Originally supplied by Bernd Helme >>> >>> Dave Cramer >>> >>> dave.cramer(at)credativ(dot)ca >>> http://www.credativ.ca >>> >>> >>> On Tue, Aug 21, 2012 at 7:08 PM, Scott Harrington >>> wrote: >>>> >>>> On Tue, 21 Aug 2012, Shijun Kong wrote: >>>> >>>>> I read a thread somewhere that somebody contributed a patch for adding >>>>> support of configurable send/receive buffer size. Did it ever commit >>>>> into >>>>> master branch? I did not see any commit message about this change for >>>>> last >>>>> 12 months. >>>> >>>> >>>> >>>> I wondered the same last weekend and found that the patch had NOT yet >>>> found >>>> its way into pgjdbc on github. In case it helps you, I've attached that >>>> old >>>> patch in a form that should apply cleanly against the latest sources >>>> (unless >>>> something's changed in the last 10 days). >>>> >>>> Before merging, maintainers would probably want to rename the property >>>> names >>>> (which have underscores in this patch) to better conform to the other >>>> driver >>>> properties which use camelcaps for the most part. >>>> >>>> I have also attached a "localAddress" patch that I find useful (I think I >>>> posted it myself a while ago, but in any case here's an updated patch >>>> that >>>> should apply more cleanly against recent sources). >>>> >>>> -Scott >>>> >>>> -- >>>> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) >>>> To make changes to your subscription: >>>> http://www.postgresql.org/mailpref/pgsql-jdbc >>>> >>> >>> >>> -- >>> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) >>> To make changes to your subscription: >>> http://www.postgresql.org/mailpref/pgsql-jdbc >>> >> >