Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fB3K90m22544 for ; Mon, 3 Dec 2001 15:09:00 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id fB3JdEv72346 for pgsql-admin@postgresql.org; Mon, 3 Dec 2001 14:39:14 -0500 (EST) (envelope-from news) From: jpoley@poley.net (jason) X-Newsgroups: comp.databases.postgresql.admin Subject: adding primary keys Date: 3 Dec 2001 11:39:12 -0800 Organization: http://groups.google.com/ Lines: 11 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Archive-Number: 200112/39 X-Sequence-Number: 2763 how come you can not alter a table and add a primary key after the table has been created? (or at least i can't seem to) mydb=> alter table actions add primary key (action); ERROR: ALTER TABLE / ADD CONSTRAINT is not implemented for that constraint type. any suggestions?