pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron Johnson <ron.l.johnson@cox.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Enforce primary key on every table during dev?
Date: Thu, 1 Mar 2018 11:32:08 -0600
Message-ID: <cc1a5880-1386-1128-a7cd-8d5be88491fe@cox.net> (raw)
In-Reply-To: <Gh7N1x08j1DF5NZ01h7QVL>
References: <CAMa1XUie6LD140KdMY7cst41uCaa5B1YEgJ3GH3XSgDh2WXguQ@mail.gmail.com>
	<87vaegq0v4.fsf@gmail.com>
	<CANu8Fix7pOzQ8Bjpzgiyw8yZgrJ9Zc95g9p=kQFYqAOFCf5jzw@mail.gmail.com>
	<84f6f201-8d70-b5a2-503a-62e0a452cc95@cox.net>
	<20180301102258.485d09aa@wrkhors.com>
	<CAF-3MvO121hZbqsf9+dwgQgH+wv0YAvwPXXLR_5NxZnrKSifpw@mail.gmail.com>
	<CANu8FiyhFnriWLR=JiDcevf-A4ATPt6W4jpwfJY=gx2htXHmTQ@mail.gmail.com>
	<Gh7N1x08j1DF5NZ01h7QVL>

On 03/01/2018 11:07 AM, Steve Atkins wrote:
[snip]
> "Every table should have a primary key, whether natural or surrogate"
> is a great guideline, and everyone should follow it until they understand
> when they shouldn't.

Most people think they know, but they don't.


-- 
Angular momentum makes the world go 'round.




view thread (59+ messages)  latest in thread

Message-ID: <cc1a5880-1386-1128-a7cd-8d5be88491fe@cox.net>
Permalink:  ../cc1a5880-1386-1128-a7cd-8d5be88491fe@cox.net/
Also on:    postgresql.org/message-id/cc1a5880-1386-1128-a7cd-8d5be88491fe@cox.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ron.l.johnson@cox.net
  Subject: Re: Enforce primary key on every table during dev?
  In-Reply-To: <cc1a5880-1386-1128-a7cd-8d5be88491fe@cox.net>
  References: <CAMa1XUie6LD140KdMY7cst41uCaa5B1YEgJ3GH3XSgDh2WXguQ@mail.gmail.com> <87vaegq0v4.fsf@gmail.com> <CANu8Fix7pOzQ8Bjpzgiyw8yZgrJ9Zc95g9p=kQFYqAOFCf5jzw@mail.gmail.com> <84f6f201-8d70-b5a2-503a-62e0a452cc95@cox.net> <20180301102258.485d09aa@wrkhors.com> <CAF-3MvO121hZbqsf9+dwgQgH+wv0YAvwPXXLR_5NxZnrKSifpw@mail.gmail.com> <CANu8FiyhFnriWLR=JiDcevf-A4ATPt6W4jpwfJY=gx2htXHmTQ@mail.gmail.com> <Gh7N1x08j1DF5NZ01h7QVL> <cc1a5880-1386-1128-a7cd-8d5be88491fe@cox.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox