Re: ALTER TABLE ... DROP CONSTRAINT

Поиск
Список
Период
Сортировка
От Andrew Gould
Тема Re: ALTER TABLE ... DROP CONSTRAINT
Дата
Msg-id 20030730160709.22226.qmail@web13402.mail.yahoo.com
обсуждение исходный текст
Ответ на ALTER TABLE ... DROP CONSTRAINT  (Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>)
Список pgsql-general
--- Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>
wrote:
> Hi all!
>
>     Who can tell me what postgres version supports
> ALTER TABLE... DROP
> CONSTRAINT without
> the need of droping the table to remove a simple
> coinstraint. (link)
>
> Elielson Fontanezi
> PRODAM - Technical Support
> Analyst

I performed that task yesterday using PostgreSQL
7.3.3:

Alter table mkt drop constraint mkt_pkey;

I don't know if it's supported in earlier versions.

Best regards,

Andrew Gould

В списке pgsql-general по дате отправления:

Предыдущее
От: Elielson Fontanezi
Дата:
Сообщение: ALTER TABLE ... DROP CONSTRAINT
Следующее
От: "Guillaume Houssay"
Дата:
Сообщение: Alter table