Updated PostgreSQL bindings
Merge pull request #1776 from mmottl/master

Updated PostgreSQL bindings