DatabaseMetaData.supportsCatalogsInXXX()

From: jason(at)netspade(dot)com
To: pgsql-jdbc(at)postgresql(dot)org
Subject: DatabaseMetaData.supportsCatalogsInXXX()
Date: 2001-07-13 13:27:46
Message-ID: 72840.995030866590.JavaMail.jason@www2.kc.aoindustries.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

Should

boolean supportsCatalogsInTableDefinitions()
boolean supportsCatalogsInIndexDefinitions()
boolean supportsCatalogsInPrivilegeDefinitions()

return true? They all return false at the moment. I think catalogs need to be sorted out - Connection.getCatalog() should also be implemented.

Another thing is would it be possible to support a jdbc:postgresql://host URL i.e. without a database specified? Is always possible to connect to template1? This is not essential but might make things easier to use if people just want to list available databases.

Thanks,
Jason

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Anders Bengtsson 2001-07-13 13:59:13 Re: [PATCH] Cleanup of JDBC character encoding
Previous Message jason 2001-07-13 12:14:09 Connection.setCatalog()