Re: Primary Key

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Primary Key
Дата
Msg-id F123863D-4814-4EC1-9A4D-07DE2F7D4725@seespotcode.net
обсуждение исходный текст
Ответ на Re: Primary Key  ("James B. Byrne" <byrnejb@harte-lyne.ca>)
Список pgsql-general
On Nov 23, 2007, at 17:35 , James B. Byrne wrote:

> Why is this desire not better satisfied by an index rather than a key?

What's your distinction between an index and a key? For what it's
worth, both UNIQUE and PRIMARY KEY constrain a column (or set of
columns) to be unique, or a key in the logical sense. Uniqueness is
implemented in terms of btree indexes in PostgreSQL. It seems to me
you're conflating logical (key) and physical (index) concepts here.

Michael Glaesemann
grzm seespotcode net



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

Предыдущее
От: "James B. Byrne"
Дата:
Сообщение: Re: Primary Key
Следующее
От: Eric Davies
Дата:
Сообщение: manipulating HeapTuples in a libpq client