Re: [GENERAL] primary key - Mailing list pgsql-general

From Sferacarta Software
Subject Re: [GENERAL] primary key
Date
Msg-id 15728.980909@bo.nettuno.it
Whole thread Raw
In response to primary key  (Andrea Antibo <antibo@mclink.it>)
List pgsql-general
Ciao Andrea,

mercoledì, 9 settembre 98, you wrote:

AA> I trust this query on postgresql 6.2.x



AA> CREATE TABLE films (
AA>        code      CHARACTER(5) CONSTRAINT firstkey PRIMARY KEY,
AA>        title     CHARACTER VARYING(40) NOT NULL,
AA>        did      DECIMAL(3) NOT NULL,
AA>        date_prod DATE,
AA>        kind     CHAR(10),
AA>        len       INTERVAL HOUR TO MINUTE     );


AA> but I have error near CONSTRAINT.

AA> Maybe this version of postgres can't accept the primary key?


PostgreSQL 6.2 hasn't this feature, you need v-6.3.2.


Best regards,
  Jose'                            mailto:sferac@bo.nettuno.it



pgsql-general by date:

Previous
From: Herouth Maoz
Date:
Subject: Re: [GENERAL] primary key
Next
From: "John Smith"
Date:
Subject: suggestions on vacuum