Re: send/receive buffer size

From: Scott Harrington <scotth01(at)sns-usa(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: send/receive buffer size
Date: 2012-09-12 11:24:35
Message-ID: alpine.WNT.2.00.1209120656590.3604@corsica
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)sns-usa(dot)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(at)sns-usa(dot)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(at)postgresql(dot)org)
>>>> To make changes to your subscription:
>>>> http://www.postgresql.org/mailpref/pgsql-jdbc
>>>>
>>>
>>>
>>> --
>>> Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
>>> To make changes to your subscription:
>>> http://www.postgresql.org/mailpref/pgsql-jdbc
>>>
>>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2012-09-12 11:33:33 Re: send/receive buffer size
Previous Message Dave Cramer 2012-09-12 10:53:35 Re: send/receive buffer size