Re: PostgreSQL Developer Best Practices

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: PostgreSQL Developer Best Practices
Дата
Msg-id 55DB3C3F.1070501@commandprompt.com
обсуждение исходный текст
Ответ на Re: PostgreSQL Developer Best Practices  (John Turner <jjturner@energi.com>)
Ответы Re: PostgreSQL Developer Best Practices
Список pgsql-general
On 08/24/2015 07:58 AM, John Turner wrote:
> On Mon, 24 Aug 2015 09:15:27 -0400, Ray Cote

>
> Point 9 is well-intentioned, but perhaps needs to be
> clarified/rephrased:  Developers should not be creating production-grade
> tables devoid of well-defined business keys, period. That would be
> regardless of whether they're used as de facto primary keys or simply as
> unique keys.

Although I appreciate your argument, I think we need a little foundation
in reality. The "serial" key is the default primary key amongst every
single web development environment in existence.

We can make an argument within the doc to why that can be bad, but to
state that it is "wrong" is just not going to get you anywhere.

JD


--
Command Prompt, Inc. - http://www.commandprompt.com/  503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.


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

Предыдущее
От: John Turner
Дата:
Сообщение: Re: PostgreSQL Developer Best Practices
Следующее
От: Melvin Davidson
Дата:
Сообщение: Re: PostgreSQL Developer Best Practices