hi all, can i know how to set a column in a table to consist only certain values? i've use the check contraint when creating the table. but once i have created the table, i cant describe it. it says that my pg_relcheck doesn't exist.
i've use the ddl below
create table test
(field1 varchar(1),
field2 varchar(1) DEFAULT 'N' CHECK (field2 = 'A' OR field2 = 'R'));
please advice....