Re: send/receive buffer size - Mailing list pgsql-jdbc
From | Dave Cramer |
---|---|
Subject | Re: send/receive buffer size |
Date | |
Msg-id | CADK3HHLfsxWwOyZE06f8DguFeoA538vvsSf5Z4vw2UbqCH0SbQ@mail.gmail.com Whole thread Raw |
In response to | Re: send/receive buffer size (Scott Harrington <scotth01@sns-usa.com>) |
List | pgsql-jdbc |
Scott, There is a build.local.properties, or build.xml where you can set values. Agreed it may be difficult to test. Dave Cramer dave.cramer(at)credativ(dot)ca http://www.credativ.ca On Wed, Sep 12, 2012 at 7:24 AM, Scott Harrington <scotth01@sns-usa.com> wrote: > 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 <scotth@sns-usa.com> >> 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 <scotth01@sns-usa.com> >>>> 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 >>>> >>> >> >
pgsql-jdbc by date: