Re: primary/secondary index, difference

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: primary/secondary index, difference
Дата
Msg-id 004801c0f806$baad84c0$1001a8c0@archonet.com
обсуждение исходный текст
Ответ на primary/secondary index, difference  (zilch@home.se)
Список pgsql-general
From: <zilch@home.se>

> Why I ask is becuase the PostgreSQL documentation mentions "secondary
index"
> somewhere.
>
> I am sure about it but don't know where.

IIRC the term is used with dbf-style database files.

You might be getting mixed up with primary/secondary keys, which uniquely
refer to a specific row in a table. A primary key would be enforced by using
a UNIQUE index, and serials are commonly used for primary keys where nothing
else is an obvious candidate.

Run a search on the web - there's bound to a primer on relational concepts
like this, or failing that any book on the theory of RDBMS will cover it.

- Richard Huxton


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Restoring database disk space requirements???
Следующее
От: "Richard Huxton"
Дата:
Сообщение: Re: Can you tell me the time?