Postgres as service working