Boolean data type
- hold either true or false
- in case the value is unknown, the NULL value is used
You can use boolean or bool keyword when you declare a column that has a Boolean data type — when inserting - 1 = true, 0 = false
When you select data from a Boolean column, PostgreSQL displays t for true, f for false and space character for NULL