Updated to pg 0.17.0