Skip to content

Commit

Permalink
- pg exteions 이 없는 경우 처리
Browse files Browse the repository at this point in the history
 코드 리팩토링
  • Loading branch information
hangum committed Nov 20, 2016
1 parent fc08d11 commit e251434
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Expand Up @@ -562,7 +562,7 @@ private void createConnectionChart(Composite cmpConnections, CommandResult comma
logger.error("Crate Connection chart", e);
}

logger.debug("=============start create newtrok Information [end]================================================");
if(logger.isDebugEnabled()) logger.debug("=============start create newtrok Information [end]================================================");
}

/**
Expand Down
Expand Up @@ -331,10 +331,15 @@ public void addManagerResouceData(UserDBDAO userDB, boolean isReload) {
resourcesDAO.setListResource(listUserDBResources);
userDB.getListResource().add(resourcesDAO);
}

// pgsql은 익스텐스 을 보여준다.
if(DBGroupDefine.POSTGRE_GROUP == userDB.getDBGroup()) {
PostgresqlConnectionEXT.connectionext(userDB);

// pg_extension 이 없는 경우가 있습니다.
try {
// pgsql은 익스텐스 을 보여준다.
if(DBGroupDefine.POSTGRE_GROUP == userDB.getDBGroup()) {
PostgresqlConnectionEXT.connectionext(userDB);
}
} catch(Exception e) {
logger.error("pg_extension", e);
}
managerTV.refresh(userDB, true);
managerTV.expandToLevel(userDB, 1);
Expand Down

0 comments on commit e251434

Please sign in to comment.