Re: Deleting foreign key constraints

Поиск
Список
Период
Сортировка
От Christoph Dalitz
Тема Re: Deleting foreign key constraints
Дата
Msg-id 20020829115132.71412344.christoph.dalitz@hs-niederrhein.de
обсуждение исходный текст
Ответ на Deleting foreign key constraints  ("Nikhil G. Daddikar" <ngd@celoxis.com>)
Список pgsql-general
On Thu, 29 Aug 2002 05:44:14 -0400
pgsql-general-owner@postgresql.org wrote:
>
> Is there a way to delete all foreign key constraints for a table?
>
"ALTER <table> DROP <constraint>" should do it. See the SQL command reference
for details.

> Also, is there a way to programmatically find all tables (excluding
> system created) in a database?
>
Call psql qith the "-E" option and enter "\d".
Then psql will echo the internal SQL-commands used for collecting the info.

Christoph Dalitz

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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Naming-scheme for db-files
Следующее
От: "Markus Wollny"
Дата:
Сообщение: Re: Naming-scheme for db-files