|
|
Sponsor |
DbVisualizer shows same tables for all DBs: msg#00286db.postgresql.jdbc
I know Postgresql doesn't allow changing DBs with the same Connection, but it should let tools know about this limitation via DatabaseMetadata. I'm not particularly familiar with the JDBC spec, so I don't know if the driver doesn't implement the spec correctly or if the spec doesn't cover this sutiation. The fact is, when I connect to a Postgresql DB using DbVisualizer Free 3.1 (www.minq.se) and latest JDBC driver (build 106), I specify which DB I want to connect to in the connection URL (ie "jdbc:postgresql://localhost:5432/testdb"), and 3 DBs show up: testdb, template0 and template1. The weird thing is that template0 and template1 seem to be exact copies of testdb. AFAIK, what's really happening is that the driver can't "see" other DBs besides the one I connected to (testdb), so it shows all DBs as if they were the same. IMHO, this behaviour is quite confusing. -- Daniel Serodio <daniel@xxxxxxxxxxxxxxxxx> CheckForte ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: where to put postgresql.jar in Mac OS X, Tony Grant |
|---|---|
| Next by Date: | Re: DbVisualizer shows same tables for all DBs, Kris Jurka |
| Previous by Thread: | where to put postgresql.jar in Mac OS X, Tony Grant |
| Next by Thread: | Re: DbVisualizer shows same tables for all DBs, Kris Jurka |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|