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  ("Brandon Aiken" <BAiken@winemantech.com>)
Список 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 по дате отправления:

Предыдущее
От: "Andrew Madu"
Дата:
Сообщение: PostgreSQL 8.2.3, Jboss 4.0.3 and postgresql-8.2-504.jdbc4
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Post-Reboot Issue: Postmaster Not Accessible