Postgresql Check If Db Exists Definition