Re: Add Primary Key to a Table

Поиск
Список
Период
Сортировка
От Tom Haddon
Тема Re: Add Primary Key to a Table
Дата
Msg-id NEBBIHDGCLBEJMPFAMLAOELLCHAA.tom@betterhealthfoundation.org
обсуждение исходный текст
Ответ на Re: Add Primary Key to a Table  (Josh Berkus <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Add Primary Key to a Table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: What about this?