Postgresql Boolean column handling