Re: Enforce primary key on every table during dev?

Поиск
Список
Период
Сортировка
От Martin Moore
Тема Re: Enforce primary key on every table during dev?
Дата
Msg-id FEB0C7C8-E24B-4D1B-BECE-E9042B264FA5@avbrief.com
обсуждение исходный текст
Ответ на Re: Enforce primary key on every table during dev?  (Ron Johnson <ron.l.johnson@cox.net>)
Список pgsql-general

 

>I can't stand synthetic keys.  By their very nature, they're so purposelessly arbitrary, and allow you to insert garbage into the >table.

How does not having a ‘real’ PK allow you to insert garbage and a ‘real’ one prevent garbage?

If there’s no natural PK, at least a synthetic one will allow very quick record identification if used.

 

 

Martin.

 

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

Предыдущее
От: Vick Khera
Дата:
Сообщение: Re: Version upgrade: is restoring the postgres database needed?
Следующее
От: Francisco Olarte
Дата:
Сообщение: Re: Enforce primary key on every table during dev?