Primary key requires SERIAL

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Primary key requires SERIAL
Date: 1999-11-19 03:26:01
Message-ID: 199911190326.WAA22622@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

We currently only allow the words PRIMARY KEY on a SERIAL column. Is
there a reason we don't allow PRIMARY KEY on an integer field? Seems it
should be allowed.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-11-19 03:28:05 Re: [HACKERS] psql & regress tests
Previous Message Tom Lane 1999-11-19 03:24:52 Re: [HACKERS] pg version date file