Re: UNIQUE constraint and indexing

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: UNIQUE constraint and indexing
Дата
Msg-id Pine.BSF.4.21.0109280834500.25946-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на UNIQUE constraint and indexing  (Arcady Genkin <a.genkin@utoronto.ca>)
Ответы Re: UNIQUE constraint and indexing  (Arcady Genkin <a.genkin@utoronto.ca>)
Список pgsql-general
On 27 Sep 2001, Arcady Genkin wrote:

> 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);

Apart from the index for unique being a unique index, I believe so.


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PostgreSQL 7.1 on SMP: FreeBSD 4.3 || Linux 2.4.x?
Следующее
От: "Steve Wolfe"
Дата:
Сообщение: Re: How to make a REALLY FAST db server?