Re: Bug in DatabaseMetaData.getColumns() with columns based on domains
В списке pgsql-jdbc по дате отправления:
| От | Thomas Kellerer |
|---|---|
| Тема | Re: Bug in DatabaseMetaData.getColumns() with columns based on domains |
| Дата | |
| Msg-id | i9v06o$gk$1@dough.gmane.org обсуждение |
| Ответ на | Re: Bug in DatabaseMetaData.getColumns() with columns based on domains (Kris Jurka <books@ejurka.com>) |
| Список | pgsql-jdbc |
Kris Jurka wrote on 23.10.2010 09:37: > Thanks for the hint. Doing the same thing that the information_schema > does was pretty easy. I've fixed this in CVS and I've also adjusted > ResultSetMetaData.isNullable to have the same behavior. I've > backpatched this to 8.4 because that's as far as was easy. > > Here's a jar you can test with: > > http://ejurka.com/pgsql/jars/domnn/ > Thanks for the quick reaction. I didn't expect this to be a client-side only problem (including psql ;) With my little example, the nullable attribute is displayed correctly with your version of the driver. Could you also look into the values reported for the TYPE_NAME in getColumns() for domains? I posted a bug reported that the domain's name is not fully qualified so that it's impossible to distinguish between thesame domains in different schemas... Regards Thomas
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера