Re: Add Primary Key to a Table - Mailing list pgsql-sql

From Tom Haddon
Subject Re: Add Primary Key to a Table
Date
Msg-id NEBBIHDGCLBEJMPFAMLAOELLCHAA.tom@betterhealthfoundation.org
Whole thread Raw
In response to Re: Add Primary Key to a Table  (Josh Berkus <josh@agliodbs.com>)
List pgsql-sql
Hi Josh,

I think that solves it for me - I'm using 7.1.3 - will upgrade
appropriately.

Thanks, Tom

-----Original Message-----
From: Josh Berkus [mailto:josh@agliodbs.com]
Sent: Friday, August 02, 2002 4:20 PM
To: Tom Haddon; pgsql-sql@postgresql.org
Subject: Re: [SQL] Add Primary Key to a Table



Tom,

> ALTER TABLE "agency_contact_info" ADD CONSTRAINT
"agency_contact_info_pkey"
> PRIMARY KEY ("id");
>
> 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,
but
not with earlier versions.

--
-Josh BerkusAglio Database SolutionsSan Francisco




pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Add Primary Key to a Table
Next
From: Tom Lane
Date:
Subject: Re: What about this?