Update pg dependency to version 0.17.1