Re: Add Primary Key to a Table

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

Предыдущее
От: "Tom Haddon"
Дата:
Сообщение: Add Primary Key to a Table
Следующее
От: "Tom Haddon"
Дата:
Сообщение: Re: Add Primary Key to a Table