Re: Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't get list of databases with \list
От
Michael Wood
Тема
Re: Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't
get list of databases with \list
Дата
Msg-id
5a8aa6680911031029q1d8e592fj90f47f1b25e62bf8@mail.gmail.com
Ответ на
Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't get list of
databases with \list (Richard Broersma)
Список
Дерево обсуждения
Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't get list of
databases with \list Richard Broersma <richard.broersma@gmail.com>
Re: Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't
get list of databases with \list Michael Wood <esiotrot@gmail.com>
Re: Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't
get list of databases with \list Richard Broersma <richard.broersma@gmail.com>
Re: Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't get list of databases with \list Francisco Leovey <fleovey@yahoo.com>
Re: [JDBC] Bug - DatabaseMetaData.getCatalogs() was [Novice] Can't
get list of databases with \list Kris Jurka <books@ejurka.com>
2009/11/3 Richard Broersma : > On Mon, Nov 2, 2009 at 1:05 PM, Christopher Frank wrote: > >>> > As for JDBC, there may be something that gives equivalent information, >>> > but I >>> > couldn't find it. >>> >>> http://java.sun.com/javase/6/docs/api/java/sql/DatabaseMetaData.html >>> >>> getCatalogs() > >> I had tried that but it only returned one database, the database to which I >> was already connected. There should have been 3 others. > > I verified that the DatabaseMetaData.getCatalogs() only returns a > ResultSet with the currently connect database rather than all of the > databases in the PostgreSQL cluster. What does it do when you have multiple schemas (schemata?) in the database? -- Michael Wood
В списке pgsql-novice по дате отправления