Re: Create Primary Key?
Stephan Szabo <sszabo@megazone23.bigpanda.com>
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: "D'Arcy J.M. Cain" <darcy@druid.net>
Cc: Webb Sprague <wsprague100@yahoo.com>, pgsql-sql@postgresql.org
Date: 2000-08-30T14:52:07Z
Lists: 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.