exercise using postgresql to store omdb data