Re: How can I set all constraints to be deferrable for a DB/schema

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: How can I set all constraints to be deferrable for a DB/schema
Дата
Msg-id CAECtzeUpcV3AizZLMwv1PTMmfUZt__u=wiZkZ1AFN_8nzQ59gA@mail.gmail.com
обсуждение исходный текст
Ответ на How can I set all constraints to be deferrable for a DB/schema  (David Gauthier <davegauthierpg@gmail.com>)
Список pgsql-general
Hi,

Le mer. 18 mars 2020 à 04:14, David Gauthier <davegauthierpg@gmail.com> a écrit :
Hi:

psql (9.6.7, server 11.3) (linux)

Is there a way to set all constraints on all tables of a DB and/or schema to be deferrable ?  Or do I have to do them one-by-one ?


You have to do them one by one. Or write a DO script to do it (but it will still involve many ALTER TABLE statements).


--
Guillaume.

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

Предыдущее
От: "Daniel Westermann (DWE)"
Дата:
Сообщение: Re: Temporary tablespaces on a RAM disk
Следующее
От: stan
Дата:
Сообщение: propogate RAISE levels < EXCEPTION through MS Access?