Updated to pg 0.17.1