Re: Need to check disabled constraints

Поиск
Список
Период
Сортировка
От Sohel Tamboli
Тема Re: Need to check disabled constraints
Дата
Msg-id CAAbZosBmhPDPmXyoQ-XRsoKL9Sgf8L3XrnrJOX7epTivEus6VQ@mail.gmail.com
обсуждение исходный текст
Ответ на Need to check disabled constraints  (Sohel Tamboli <sohel.tamboli0016@gmail.com>)
Ответы Re: Need to check disabled constraints  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin
Hi, 

Any updates? 
Also I need to disable all FK in schema/database for database migration. How can I achieve that? 

Thanks, 
Sohel

On 25-Jan-2018 12:57 pm, "Sohel Tamboli" <sohel.tamboli0016@gmail.com> wrote:
Hi, 

Can anyone please let me know how I can check disabled constraints in postgresql 9.1 database. 
I know that ALTER TABLE tablename DISABLE TRIGGER ALL; can disable foriegn constraints, but how I can check if it is really disabled. Similarly I need to check if constraint is enable. 

In oracle we have option to check status of constraint in user_constraints table but do we have same in postgresql as well? 

Appreciate your response. 

Thanks. 

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [ADMIN] standby upgrade questions
Следующее
От: Siro Mateos De La Rosa
Дата:
Сообщение: Disable animations