<Sandeep> WIP to get data from postgres.