Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group