[COOK-3761] Pgsql provider patches

https://tickets.opscode.com/browse/COOK-3761