Re: UNIQUE constraint and indexing

Поиск
Список
Период
Сортировка
От Daniel M . Kurry
Тема Re: UNIQUE constraint and indexing
Дата
Msg-id 20010928064138.B56332@over-yonder.net
обсуждение исходный текст
Ответ на UNIQUE constraint and indexing  (Arcady Genkin <a.genkin@utoronto.ca>)
Список pgsql-general
On Thu, Sep 27, 2001 at 06:30:50PM -0400, some SMTP stream spewed forth:
> Is the index, created implicitely by "UNIQUE" constraint, the same
> kind as created explicitely with "CREATE INDEX"?  In other words,
> is the following piece of SQL redundant?
>
> create table foo (
>        bar serial primary key,
>        baz text not null unique );
> create index foo_baz_idx on foo(baz);

Yes, to the best of my knowledge.

Daniel M. Kurry

> Many thanks,
> --
> Arcady Genkin
> i=1; while 1, hilb(i); i=i+1; end

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Randomize Result Set Order
Следующее
От: "Dinesh Parikh"
Дата:
Сообщение: Fw: Problem Related to Goto