Re: Difference between UNIQUE constraint vs index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Difference between UNIQUE constraint vs index
Дата
Msg-id 4211.1172678600@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Difference between UNIQUE constraint vs index  ("Brandon Aiken" <BAiken@winemantech.com>)
Ответы Re: Difference between UNIQUE constraint vs index
Список pgsql-general
"Brandon Aiken" <BAiken@winemantech.com> writes:
> SQLite, MySQL, and MS Access each use indexes for unique constraints.
> Doesn't the SQL spec specify that CREATE INDEX can be used to create
> UNIQUE indexes?

No, there is no such command in the SQL spec.  In fact the concept of an
index does not appear anywhere in the spec ... it's an implementation
detail.

            regards, tom lane

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