support boolean datatype for postgres

/cc @javornikolov