Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Le mer. 18 mars 2020 à 04:14, David Gauthier <davegauthierpg@xxxxxxxxx> 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.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux