Re: UNIQUE constraint fails

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: UNIQUE constraint fails
Дата
Msg-id 27995.982942687@sss.pgh.pa.us
обсуждение исходный текст
Ответ на UNIQUE constraint fails  (Louis-David Mitterrand <cunctator@apartia.ch>)
Список pgsql-general
Louis-David Mitterrand <cunctator@apartia.ch> writes:
> With 7.1b4:
> test=# create table auction_type(id serial,login text,birthday timestamp);

> test=# create table auction(unique(login)) inherits("auction_type");
> ERROR:  inherited attribute "login" cannot be a PRIMARY KEY because it is not marked NOT NULL

This is fixed since 7.1b4.

            regards, tom lane

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

Предыдущее
От: Louis-David Mitterrand
Дата:
Сообщение: Re: UNIQUE constraint fails
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Using NULL values in calculated results