Changed db to pg