| From: | andreak(at)officenet(dot)no |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Deferrable NOT NULL constraints in 9.3? |
| Date: | 2012-11-08 09:45:28 |
| Message-ID: | OrigoEmail.58.e6f699b252b2deb.13adf64b398@prod2.officenet.no |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
<div>Hi hackers.</div>
<div> </div>
<div>Are there any plans to include DEFERRABLE NOT NULL constraints in 9.3 so one can do this?</div>
<div>
<pre class="lang-sql prettyprint prettyprinted" style="">
create table test(a varchar not null deferrable initially deferred);</pre>
</div>
<div>This works in Oracle and is quite handy when working with ORMs.</div>
<div> </div>
<div>Thanks.</div>
<div> </div>
<div class="origo-email-signature">--<br>
Andreas Joseph Krogh <andreak(at)officenet(dot)no> mob: +47 909 56 963<br>
Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no<br>
Public key: http://home.officenet.no/~andreak/public_key.asc</div>
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/html | 682 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2012-11-08 14:26:27 | Re: Proposal for Allow postgresql.conf values to be changed via SQL |
| Previous Message | Denis | 2012-11-08 09:04:34 | Re: [HACKERS] pg_dump and thousands of schemas |