Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 40C1847621D for ; Fri, 2 Aug 2002 19:19:01 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 5FC6247612A for ; Fri, 2 Aug 2002 19:19:00 -0400 (EDT) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1599076; Fri, 02 Aug 2002 16:19:01 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: "Tom Haddon" , Subject: Re: Add Primary Key to a Table Date: Fri, 2 Aug 2002 16:19:51 -0700 X-Mailer: KMail [version 1.4] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200208021619.51272.josh@agliodbs.com> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/50 X-Sequence-Number: 8896 Tom, > ALTER TABLE "agency_contact_info" ADD CONSTRAINT "agency_contact_info_pke= y" > PRIMARY KEY ("id"); >=20 > I get a message saying "ALTER TABLE / ADD CONSTRAINT not implemented for > that constraint type". Is this a bug, or am I doing something wrong? What version are you using? That command is supported with Postgres 7.2, b= ut=20 not with earlier versions. --=20 -Josh Berkus Aglio Database Solutions San Francisco