Serial syntax

From: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Serial syntax
Date: 1998-09-15 18:50:47
Message-ID: m0zJ0Bb-00006FC@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at){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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Frank Ridderbusch 1998-09-15 19:12:41 Re: [HACKERS] Found it. Also on SVR4 (Compiling 6.4 on NetBSD...
Previous Message Karl Eichwalder 1998-09-15 18:47:36 6.4-BETA1: libpgtcl.so / Tcl version?