pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: fmiddleton@verizon.net
Cc: pgsql-sql@postgresql.org
Subject: Re: Why doesn't the SERIAL data type automatically have a UNIQUE CONSTRAINT
Date: Mon, 26 Sep 2005 21:03:18 -0400
Message-ID: <5899.1127782998@sss.pgh.pa.us> (raw)
In-Reply-To: <4338961E.20100@verizon.net>
References: <4338961E.20100@verizon.net>

Ferindo Middleton Jr <fmiddleton@verizon.net> writes:
> Is there some reason why the SERIAL data type doesn't automatically have 
> a UNIQUE CONSTRAINT.

It used to, and then we decoupled it.  I don't think "I have no use for
one without the other" translates to an argument that no one has a use
for it ...

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <5899.1127782998@sss.pgh.pa.us>
Permalink:  ../5899.1127782998@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5899.1127782998@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, fmiddleton@verizon.net
  Subject: Re: Why doesn't the SERIAL data type automatically have a UNIQUE CONSTRAINT
  In-Reply-To: <5899.1127782998@sss.pgh.pa.us>

* 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