Skip to content
Snippets Groups Projects
Commit 218a0fc7 authored by buczekp's avatar buczekp
Browse files

minor: reverted workaround

SVN: 19498
parent 476ad305
No related branches found
No related tags found
No related merge requests found
......@@ -197,15 +197,15 @@ public class PostgreSQLAdminDAO extends AbstractDatabaseAdminDAO
getJdbcTemplate().execute(CREATE_PLPGSQL);
} catch (RuntimeException ex)
{
// if (ex instanceof DataAccessException
// && DBUtilities.isDuplicateObjectException((DataAccessException) ex))
// {
// operationLog.warn("Cannot create language PL/PgSQL since it already exists.");
// } else
// {
operationLog.error("Failed to create language PL/PgSQL.", ex);
// throw ex;
// }
if (ex instanceof DataAccessException
&& DBUtilities.isDuplicateObjectException((DataAccessException) ex))
{
operationLog.warn("Cannot create language PL/PgSQL since it already exists.");
} else
{
operationLog.error("Failed to create language PL/PgSQL.", ex);
throw ex;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment