PG client WIP