Re: Removing constraints

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Removing constraints
Дата
Msg-id Pine.BSF.4.21.0011130845220.63528-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Removing constraints  ("Nathan Barnett" <nbarnett@cellularphones.com>)
Список pgsql-general
You should be able remove the fk constraint by dropping the three
associated triggers in pg_trigger.  You can find the correct ones
by look at the tgargs column if you didn't name the constraint.

Stephan Szabo
sszabo@bigpanda.com

On Mon, 13 Nov 2000, Nathan Barnett wrote:

> There is a constraint on my database that was created as part of a foreign
> key.  When I dropped the foreign key index, the constraint still remained
> behind.  How can I delete this constraint?  It is unnamed and I figure I
> need to remove some stuff from the system tables, but I don't know which
> ones or what to delete.  I'm using PostgreSQL v7.0.2.  I looked through the
> user guides, but couldn't find this info there.


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: How do I list foreign key info/relation
Следующее
От: oberpwd@anubis.network.com (Wade D. Oberpriller)
Дата:
Сообщение: PL/Perl and gcc