Re: pervasiveness of surrogate (also called synthetic) keys

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pervasiveness of surrogate (also called synthetic) keys
Дата
Msg-id 201105021150.23281.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: pervasiveness of surrogate (also called synthetic) keys  (Scott Ribe <scott_ribe@elevated-dev.com>)
Список pgsql-general
On Thursday, April 28, 2011 08:31:09 PM Scott Ribe wrote:
> Well, natural keys are quite obviously the way to go, when they exist. The
> problem is, they usually don't really exist. What's usually proposed as a
> natural key, will upon further investigation, either not be guaranteed
> unique, or not guaranteed to be unchanging, or both.
There is no fundamental problem with changing primary keys. Sure, there are
challenges and situations where thats annoying and problematic, but it's not
as bad as often assumed.

Andres

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

Предыдущее
От: Marek Więckowski
Дата:
Сообщение: auto-reconnect: temp schemas, sequences, transactions
Следующее
От: sm
Дата:
Сообщение: wnat ot edit pg_hba.conf file from command prompt