Skip to content

Commit

Permalink
#5466 PG: multi-tenant database support
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-rider committed Mar 12, 2019
1 parent 7abaca7 commit 27ee012
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -127,7 +127,12 @@ public PostgreDatabase(DBRProgressMonitor monitor, PostgreDataSource dataSource,
this.initCaches();
checkInstanceConnection(monitor);

readDatabaseInfo(monitor);
try {
readDatabaseInfo(monitor);
} catch (DBCException e) {
// On some multi-tenant servers pg_database is not public so error may gappen here
log.debug("Error reading database info", e);
}
}

public PostgreDatabase(DBRProgressMonitor monitor, PostgreDataSource dataSource, String name, PostgreRole owner, String templateName, PostgreTablespace tablespace, PostgreCharset encoding) throws DBException {
Expand Down

0 comments on commit 27ee012

Please sign in to comment.