From: Tom Haddon <tom@betterhealthfoundation.org>
To: josh@agliodbs.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Add Primary Key to a Table
Date: Fri, 2 Aug 2002 16:20:23 -0700
Message-ID: <NEBBIHDGCLBEJMPFAMLAOELLCHAA.tom@betterhealthfoundation.org> (raw)
In-Reply-To: <200208021619.51272.josh@agliodbs.com>
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 Berkus
Aglio Database Solutions
San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tom@betterhealthfoundation.org, josh@agliodbs.com
Subject: Re: Add Primary Key to a Table
In-Reply-To: <NEBBIHDGCLBEJMPFAMLAOELLCHAA.tom@betterhealthfoundation.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox