Re: how can i drop a constraint

Поиск
Список
Период
Сортировка
От Christoph Haller
Тема Re: how can i drop a constraint
Дата
Msg-id 3E5B8A65.15F2E0A2@rodos.fzk.de
обсуждение исходный текст
Ответ на how can i drop a constraint  (rute solipa <rutes@eselx.ipl.pt>)
Список pgsql-sql
>
> >
> > i've got some tables where constraints don't have an explicit name,
> how can
> > i drop them.
> >
>
> Refer to the system catalogs section within the documentation.
> pg_relcheck keeps track of constraints.
>
>
More precisely

select relname , rcname from pg_class join pg_relcheck on (
pg_relcheck.rcrelid = pg_class.oid ) ;

Regards, Christoph




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

Предыдущее
От: Itai Zukerman
Дата:
Сообщение: Polymorphic?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: STORAGE and GiST