On Mon, Jan 20, 2014 at 12:37 AM, Frederik Wiers
<frederik(dot)wiers(at)gmail(dot)com>wrote:
> And I can not think of a reason to use a StringBuffer if it is just used
> locally in a method to build a String.
>
>
It's probably historical based on the fact that StringBuilder was
introduced in JDK 1.5 and pgjdbc is/was still supporting JDK 1.4. It's
worth re-evaluating if 1.4 should be supported and then a number of
optimisations could be introduced.