CDB-1168 #resolve Fixes removing user database on postgresql >= 9.2