From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Vitaly Burovoy <vitaly(dot)burovoy(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Prevent ALTER TABLE DROP NOT NULL on child tables if parent column has it |
Date: | 2016-06-16 04:21:45 |
Message-ID: | CAB7nPqSzst4C3fU4fv4nbrOfzy9PC3jyR0QkW-yZsE574dSY-g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Jun 16, 2016 at 12:10 PM, Vitaly Burovoy
<vitaly(dot)burovoy(at)gmail(dot)com> wrote:
> In the initial letter[1] I posted a digest from the SQL-2011 standard
> and a conclusion as a design of a new patch.
> Now I have more free time and I'm hacking it that way. The new patch
> is at the very early stage, full of WIPs and TODOs. I hope it'll be
> ready to be shown in a month (may be two).
I have just read both your patch and the one of Alvaro, but yours does
not touch pg_constraint in any way. Isn't that unexpected?
> But it already forbids dropping NOT NULLs if they were set as result
> of inheritance.
Okay, I'll drop any proposal on my side in this case. Looking forward
to seeing what you got for the first commit fest of 10.0.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2016-06-16 04:27:32 | Re: Prevent ALTER TABLE DROP NOT NULL on child tables if parent column has it |
Previous Message | Robert Haas | 2016-06-16 03:56:35 | Re: ERROR: ORDER/GROUP BY expression not found in targetlist |