dropping anonymous constraints

Поиск
Список
Период
Сортировка
От Ben Liblit
Тема dropping anonymous constraints
Дата
Msg-id 3D34ED46.60907@eecs.berkeley.edu
обсуждение исходный текст
Ответы Re: dropping anonymous constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Given a table "data" with column "value", one can add a constraint that
has no name:

     ALTER TABLE data ADD CHECK (value > 0);

How, then, does one remove this constraint?  The "ALTER TABLE ... DROP
CONSTRAINT ..." command expects to see a constraint name, but this
constraint is anonymous.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: COPY seems to work, but no data in the table
Следующее
От: "Tracy Gong"
Дата:
Сообщение: ? about Installation of Postgresql