BACKGROUND
I am attempting to create a table that will have a single column and single row with boolean value. It will be either set True or False by some external application.
CODE
BEGIN;
CREATE TABLE my_table (
my_flag BOOL DEFAULT TRUE
);
END;
SELECT * FROM my_table
ISSUE
When i do SELECT * FROM my_table i expect it to return one row with the value TRUE except it returns the table and row but with no value. I am not sure why that is?
SELECT COUNT(*) FROM my_table=> 0