Fixed os_type_INTEGER handling in PostgreSQL

Closes #48