From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | Martin Keller <martin(dot)keller(at)unitedplanet(dot)de> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Driver does not report all catalogs |
Date: | 2005-11-29 20:12:26 |
Message-ID: | Pine.BSO.4.61.0511291510030.8414@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
On Tue, 29 Nov 2005, Martin Keller wrote:
> newer versions of the PostgreSQL JDBC driver don't return all databases of
> the server when calling DatabaseMetaData.getCatalogs(...).
> Can anyone tell me, why this change was neccessary? It's incompatible to JDBC
> spec and brakes existing code.
>
This was discussed quite some time ago, starting here:
http://archives.postgresql.org/pgsql-jdbc/2004-01/msg00154.php
The core issue is that while we can return a list of catalogs, you can't
do anything with them. Connection.setCatalog does nothing. Other
metadata methods ignore the catalog filter as well. Pretending the other
catalogs don't exist makes certain applications work better, DBVisualizer
for example. What are you using it for?
Kris Jurka
From | Date | Subject | |
---|---|---|---|
Next Message | Chad Files | 2005-11-29 21:23:12 | GCJ, SSL Connection Issue |
Previous Message | Jan de Visser | 2005-11-29 14:55:42 | Re: pgsql XA with weblogic 8.1? |