Is it worth mentioning this as a compatibility issue?

"Prior to PostgreSQL 7.3, serial  implied UNIQUE. This is no longer 
automatic. If you wish a serial column to be in a unique constraint or a 
primary key, it must now be specified, same as with any other data type."

Chris






Thu, 23 Oct 2003 10:53:47 +0800
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Another release note?
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> Is it worth mentioning this as a compatibility issue?
> "Prior to PostgreSQL 7.3, serial  implied UNIQUE. This is no longer 
> automatic. If you wish a serial column to be in a unique constraint or a 
> primary key, it must now be specified, same as with any other data type."

Er, that *was* a compatibility issue.  For 7.3.

			regards, tom lane

Wed, 22 Oct 2003 22:58:26 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: Another release note? 
>>Is it worth mentioning this as a compatibility issue?
>>"Prior to PostgreSQL 7.3, serial  implied UNIQUE. This is no longer 
>>automatic. If you wish a serial column to be in a unique constraint or a 
>>primary key, it must now be specified, same as with any other data type."
> 
> 
> Er, that *was* a compatibility issue.  For 7.3.

Doh - I'm an idiot.



Thu, 23 Oct 2003 11:12:28 +0800
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: Another release note?
Christopher Kings-Lynne wrote:
> >>Is it worth mentioning this as a compatibility issue?
> >>"Prior to PostgreSQL 7.3, serial  implied UNIQUE. This is no longer 
> >>automatic. If you wish a serial column to be in a unique constraint or a 
> >>primary key, it must now be specified, same as with any other data type."
> > 
> > 
> > Er, that *was* a compatibility issue.  For 7.3.

And we did mention it in the 7.3 release notes:

     * serial columns are no longer automatically UNIQUE; thus, an index
       will not automatically be created.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Wed, 22 Oct 2003 23:20:16 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: Another release note?