Re: Create Primary Key? - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: Create Primary Key?
Date
Msg-id Pine.BSF.4.10.10008300743050.60082-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: Create Primary Key?  (darcy@druid.net (D'Arcy J.M. Cain))
List pgsql-sql
On Wed, 30 Aug 2000, D'Arcy J.M. Cain wrote:

> Thus spake Stephan Szabo
> > We don't currently support the SQL syntax for adding
> > a PK to a table.  However, if you have the columns
> > as NOT NULL already, adding a unique index to the
> > columns in question has the same general effect.
> 
> Except for interfaces such as PyGreSQL that recognize the primary key
> and use it.

True.  You'd have to see what it was doing to determine the primary key
and try to do the same things.




pgsql-sql by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: Create Primary Key?
Next
From: "Ryan Williams"
Date:
Subject: Re: Viewing a function