how to add boolean column in postgresql

Solutions on MaxInterview for how to add boolean column in postgresql by the best coders in the world

showing results for - "how to add boolean column in postgresql"
Dorla
25 Mar 2018
1ALTER TABLE users
2  ADD COLUMN "priv_user" BOOLEAN DEFAULT FALSE;
3
Rian
24 Jun 2017
1PostgreSQL supports a single Boolean data type: BOOLEAN that can have three values: true , false and NULL . PostgreSQL uses one byte for storing a boolean value in the database. The BOOLEAN can be abbreviated as BOOL .