getTables() not working for information_schema or pg_catalog
В списке pgsql-jdbc по дате отправления:
| От | Thomas Kellerer |
|---|---|
| Тема | getTables() not working for information_schema or pg_catalog |
| Дата | |
| Msg-id | dm7eel$q6f$1@sea.gmane.org обсуждение исходный текст |
| Ответы |
Re: getTables() not working for information_schema or pg_catalog
Re: getTables() not working for information_schema or pg_catalog |
| Список | pgsql-jdbc |
Hello, I just stumbled across something: When I call con.getMetaData().getTables(null, "information_schema", "%", null); (where con is a java.sql.Connection), I would assume to get all tables that are stored in the information_schema, but the returned ResultSet is empty (next() immediately returns false). The same is true when I call it with "pg_catalog" Passing null for the table name does not make a difference. getTables(null, "public", "%", null) is working fine. Am I missing something, or is this broken? I am using postgresql-8.1-404.jdbc3.jar and PG 8.1 on a Windows 2000 box (with JDK 1.5) Regards Thomas
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера