Re: child table doesn't inherit PRIMARY KEY?

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: child table doesn't inherit PRIMARY KEY?
Дата
Msg-id 393A0881.E1AC056D@tm.ee
обсуждение исходный текст
Ответ на child table doesn't inherit PRIMARY KEY?  (Louis-David Mitterrand <cunctator@apartia.ch>)
Список pgsql-hackers
Louis-David Mitterrand wrote:
> 
> Solutions:
> 
> 1) don't use PRIMARY KEY, use UNIQUE NOT NULL (which will be inherited?)
> but the I lose the index,

AFAIK the UNIQUE constraint is implemented in PostgreSQL by creating 
an unique index on that field 

----------
Hannu


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

Предыдущее
От: Louis-David Mitterrand
Дата:
Сообщение: child table doesn't inherit PRIMARY KEY?
Следующее
От: Denis Perchine
Дата:
Сообщение: Problem upgrading from 7.0 to 7.0.1