unexpected check constraint violation

Поиск
Список
Период
Сортировка
Hi,

Can someone explain why postgres complains in this case:

create table t(d real, check(d>=0.00603));
insert into t values (0.00603);

ERROR:  new row for relation "t" violates check constraint "t_d_check"

thanks
Jacek

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] bash & postgres
Следующее
От: Jeremy Harris
Дата:
Сообщение: Re: unexpected check constraint violation