Postgresql Boolean Functions And Its Representation