Re: Enforce primary key on every table during dev?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Enforce primary key on every table during dev?
Дата
Msg-id CAKFQuwYkVTVmLgtJbC0nDqcPAO5K2T4zMQ6-05VOeqgWP5yR9w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Enforce primary key on every table during dev?  (Tim Cross <theophilusx@gmail.com>)
Список pgsql-general
On Thu, Mar 1, 2018 at 2:06 PM, Tim Cross <theophilusx@gmail.com> wrote:
+1. And a good test of your underlying data model is whether you can
identify a natural primary key. If you can't, chances are your model is
immature/flawed and needs more analysis.


Unfortunately identifying a natural primary key doesn't guarantee that one's model is mature, unblemished, and complete - the model writer may just not know what they don't know.  But they may know enough, or the application is constrained enough, for it to be useful anyway.

David J.

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Enforce primary key on every table during dev?
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Enforce primary key on every table during dev?