Received: from megazone.bigpanda.com ([63.150.15.178]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fB6G69m70736 for ; Thu, 6 Dec 2001 11:06:10 -0500 (EST) (envelope-from sszabo@megazone23.bigpanda.com) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 7157AD5EC; Thu, 6 Dec 2001 08:06:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 630005BED; Thu, 6 Dec 2001 08:06:14 -0800 (PST) Date: Thu, 6 Dec 2001 08:06:14 -0800 (PST) From: Stephan Szabo To: jason Cc: Subject: Re: adding primary keys In-Reply-To: Message-ID: <20011206080353.E25449-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200112/45 X-Sequence-Number: 2769 On 3 Dec 2001, jason wrote: > how come you can not alter a table and add a primary key after the > table has been created? Because it wasn't implemented for that constraint type ;) (I think it'll work in at least some cases for 7.2)? > any suggestions? Check the archives for 7.1 and earlier workarounds, it's come up fairly recently.