Re: drop check constraint

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: drop check constraint
Дата
Msg-id Pine.BSF.4.21.0102070932350.49683-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на drop check constraint  ("Tamsin" <tg_mail@bryncadfan.co.uk>)
Список pgsql-general
Yes.  You need to remove the row on pg_relcheck and then change the
value of relchecks for the row in pg_class for the relation the check
constraint is on.

On Wed, 7 Feb 2001, Tamsin wrote:

> Hello,
>
> Is it possible to drop a check constraint in any way without
> dropping/recreating the table?  I've managed to drop foreign key constraints
> by dropping the associated triggers, but check constraints don't seem to
> create triggers and there isn't an alter table drop constraint command.  Is
> there something I can do to the system tables?


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

Предыдущее
От: Brice Ruth
Дата:
Сообщение: Re: Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?
Следующее
От: "Thomas T. Thai"
Дата:
Сообщение: Re: full text searching