PRIMARY KEY and INDEX

Поиск
Список
Период
Сортировка
От Nosyman
Тема PRIMARY KEY and INDEX
Дата
Msg-id 200409021358.i82DwGQ8022806@acten.itcnet.ro
обсуждение исходный текст
Ответы Re: PRIMARY KEY and INDEX
Re: PRIMARY KEY and INDEX
Список pgsql-sql
It is necessary to define an index for a primary key column?

Let's have an example
CREATE TABLE users(
id_user INTEGER PRIMARY KEY,
user_name VARCHAR(25)
);

Does PgSQL automatically create an index for id_user (primary key) or it
must be created by hand?

Thanks


_________________________________________________________________
Message
sent using ITCNet free webmailer (http://www.easymail.ro)


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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: copy old column's values to new column
Следующее
От: Achilleus Mantzios
Дата:
Сообщение: Re: PRIMARY KEY and INDEX