Bug of ALTER TABLE DROP CONSTRAINT

Поиск
Список
Период
Сортировка
От Jacky Leng
Тема Bug of ALTER TABLE DROP CONSTRAINT
Дата
Msg-id gr1p91$flr$1@news.hub.org
обсуждение исходный текст
Ответы Re: Bug of ALTER TABLE DROP CONSTRAINT  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Considering the following sequence:   create table t(a int primary key);   alter table t drop constraint t_pkey;
insertinto t values(null);   ERROR:  null value in column "a" violates not-null constraint
 

My question is, why "null" is not allowed to be inserted after primary key 
constraint has been dropped.




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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: 8.4 open items list
Следующее
От: Dave Page
Дата:
Сообщение: Re: 8.4 open items list