DatabaseMetaData.getTables()

Поиск
Список
Период
Сортировка
От Mike Cannon-Brookes
Тема DatabaseMetaData.getTables()
Дата
Msg-id AKEBKNIMAHCDBCMEGPBFKEOCKAAA.mcannon@internet.com
обсуждение исходный текст
Ответ на Re: I can't connect  (Bart <bart@alator.kotnet.org>)
Список pgsql-jdbc
I'm having problems with this method at the moment on one DB.

I get a null pointer at the line... (1707 in the latest src)

    tuple[3] = relKind.getBytes(); // table type

tracing it back it seems like this is because the switch statement above
gives a result of 'v' which from reading the comments is a) a VIEW table
type and b) not a valid option? (at least I think not valid, it's a
confusing long comment ;)).

I've patched it locally to add 'v' as a "VIEW" table type and it seems to
now run fine.

What to do?

-mike


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

Предыдущее
От: "Mike Cannon-Brookes"
Дата:
Сообщение: Compiling
Следующее
От: Marko Kreen
Дата:
Сообщение: Re: Compiling