Improved bindings quality. Tested with PostgreSQL 9.2.