Update to pg 0.17.1