bug report: slow getColumnTypeName

From: Eyal Wilde <eyal(at)impactsoft(dot)co(dot)il>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: bug report: slow getColumnTypeName
Date: 2012-10-04 23:07:40
Message-ID: CAMiEbch4MsNhkTamK3dt4GpJ8qU0BObYPmMNGkrzVFLjwONMpQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

ResultSetMetaData __md = __rs.getMetaData(); //this
is fine
String __sf1name = __md.getColumnName(1); //this
is fine
int __if1type = __md.getColumnType(1);
//this is fine
String __sf1type = __md.getColumnTypeName(1); //this is
SLOW!! ~15msec

postgres server version is 9.1.5
jdbc version, i checked both 9.1-901 and 9.1-903
and... BTW, 9.0-801 works good (while connected pg9.1)!

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Craig Ringer 2012-10-05 05:21:11 Re: bug report: slow getColumnTypeName
Previous Message Dave Cramer 2012-10-03 09:46:14 Re: JDBC change log needs updating for Version 9.2-1000