Hi,
PFA minor patch to fix the issue when server group already exists and usertry to create new with same name.
--Regards,Murtuza ZabuawalaEnterpriseDB: http://www.enterprisedb.comThe Enterprise PostgreSQL Company