Boolean support

Only tested with PostgreSQL