Serial syntax - Mailing list pgsql-hackers

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Serial syntax
Date
Msg-id m0zJ0Bb-00006FC@druid.net
Whole thread Raw
List pgsql-hackers
This works.
  CREATE TABLE x (a serial, b int);
but this doesn't.
  CREATE TABLE x (a serial PRIMARY KEY, b int);

Should it?

--
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.

pgsql-hackers by date:

Previous
From: Karl Eichwalder
Date:
Subject: 6.4-BETA1: libpgtcl.so / Tcl version?
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] crash on new system views