Postgresql Add Values To Dictionary