Re: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index

Поиск
Список
Период
Сортировка
От Ludwig Lim
Тема Re: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
Дата
Msg-id 20030122095311.49903.qmail@web80313.mail.yahoo.com
обсуждение исходный текст
Ответ на NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index  ("David Durst" <ddurst@larubber.com>)
Список pgsql-sql
--- David Durst <ddurst@larubber.com> wrote:
> Can anyone tell me why postgres is creating a
> implicit index when
> I already have a PKEY specified????
> 
> Or am I just interpreting this all wrong?
 PostgreSQL uses UNIQUE INDEX to enforce PRIMARY KEY
constraint. Therefore creating a PRIMARY KEY will
automatically create a UNIQUE INDEX.

ludwig.


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


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

Предыдущее
От: Achilleus Mantzios
Дата:
Сообщение: Re: optimal sql
Следующее
От: "Michael Paesold"
Дата:
Сообщение: Re: optimal sql