| From: | Igor Neyman <ineyman(at)perceptron(dot)com> |
|---|---|
| To: | Tobias Fielitz <tobias(at)dealsta(dot)com(dot)au>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Get additional constraint information |
| Date: | 2015-08-04 19:53:56 |
| Message-ID: | A76B25F2823E954C9E45E32FA49D70ECCD50D1DC@mail.corp.perceptron.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Tobias Fielitz
Sent: Monday, August 03, 2015 9:56 PM
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] Get additional constraint information
select * from information_schema.table_constraints where
table_name=‘install_crash’;
Results here: http://imgur.com/YymSvBS
How can I get more information about these constraints, especially on which columns the not null constraints are?
Thanks
Tobias Fielitz
CTO StreetHawk
+61404267511
tobias.fielitz (skype)
--
select column_name, is_nullable from information_schema.columns where table_name = 'install_crash';
Regards,
Igor Neyman
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joshua D. Drake | 2015-08-04 20:31:37 | Re: Bi-Directional replication(BDR) |
| Previous Message | Brian Dunavant | 2015-08-04 19:53:42 | Re: [GENERAL] Bi-Directional replication(BDR) |