bytea performance tweak - Mailing list pgsql-jdbc

From Andreas Schmitz
Subject bytea performance tweak
Date
Msg-id 20110621130713.GB3919@summalogicae.occamlabs.local
Whole thread Raw
Responses Re: bytea performance tweak  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
Hi,

I've noticed that fetching a bytea field produces a lot of overhead when
converting into a byte[] or InputStream. Looking at the code, I've
produced a small patch (a lookup table for the hex codes) which makes
the conversion faster. What do you think?

Best regards, Andreas

Attachment

pgsql-jdbc by date:

Previous
From: Bruce Adams
Date:
Subject: Re: Failover Datasource?
Next
From: Oliver Jowett
Date:
Subject: Re: bytea performance tweak