Changed database to pg