Boolean types v15
EDB Postgres Advanced Server provides the standard SQL type BOOLEAN
. BOOLEAN
can have one of only two states: TRUE
or FALSE
. A third state, UNKNOWN
, is represented by the SQL NULL
value.
Name | Storage size | Description |
---|---|---|
BOOLEAN | 1 byte | Logical Boolean (true/false) |
The valid literal value for representing the true state is TRUE
. The valid literal for representing the false state is FALSE
.