Update to pg 0.17.0