PostgreSQL Constraints and Foreign Keys - Dropping Tables

Поиск
Список
Период
Сортировка
От Sbob
Тема PostgreSQL Constraints and Foreign Keys - Dropping Tables
Дата
Msg-id 134db88e-0735-1e96-cd94-3ee5bbaf8fac@quadratum-braccas.com
обсуждение исходный текст
Ответы Re: PostgreSQL Constraints and Foreign Keys - Dropping Tables  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin
I just saw a post indicating that PostgreSQL Foreign Keys and 
Constraints are actually managed via triggers, therefore instead of 
doing a DROP TABLE CASCADE I could just disable triggers.


Is this true?


If so it 'feels' like there may be dangerous side effects, any thoughts 
on any cautions and gotcha's to this approach?


Thanks in advance




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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: backend_xid and backend_xmin
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: PostgreSQL Constraints and Foreign Keys - Dropping Tables