Re: bug report: slow getColumnTypeName

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: bug report: slow getColumnTypeName
Дата
Msg-id 506E6E47.7000603@ringerc.id.au
обсуждение исходный текст
Ответ на bug report: slow getColumnTypeName  (Eyal Wilde <eyal@impactsoft.co.il>)
Список pgsql-jdbc
On 10/05/2012 07:07 AM, Eyal Wilde wrote:
>
>                      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

Can you wrap that up into a test case (SQL schema and Java code) that's
self contained and runnable?

--
Craig Ringer


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Eyal Wilde
Дата:
Сообщение: bug report: slow getColumnTypeName
Следующее
От: "emergency.shower@gmail.com"
Дата:
Сообщение: Severe performance degradation when using the 9.2-1000 JDBC 4 driver