Re: patch: tiny patch to correct stringbuffer size estimate

From: Felipe Schnack <felipes(at)ritterdosreis(dot)br>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: patch: tiny patch to correct stringbuffer size estimate
Date: 2003-07-22 14:20:11
Message-ID: 20030722112011.714999a1.felipes@ritterdosreis.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

These StringBuffer woes remember of an old request we made to this list... The last time I checked driver's sources, all acess to preparedstatement's stringbuffer are synchronized... this isn't necessary as jre's Stringbuffer already has all of its methods synchronized.
The driver is still doing that? Just curious.

On Wed, 23 Jul 2003 01:54:53 +1200
Oliver Jowett <oliver(at)opencloud(dot)com> wrote:

> This patch tweaks the size estimate when escaping strings to count the
> enclosing quotes.
>
> -O
>

--

/~\ The ASCII Felipe Schnack (felipes(at)ritterdosreis(dot)br)
\ / Ribbon Campaign Analista de Sistemas
X Against HTML Cel.: 51-91287530
/ \ Email! Linux Counter #281893

Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
ritter(at)ritterdosreis(dot)br
Fone: 51-32303341

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2003-07-22 14:25:37 Re: Detecting 'socket errors' - closing the Connection object
Previous Message Dmitry Tkach 2003-07-22 14:18:28 Re: Detecting 'socket errors' - closing the Connection object