changed the client to pg