Re: Prevent ALTER TABLE DROP NOT NULL on child tables if parent column has it
От | Michael Paquier |
---|---|
Тема | Re: Prevent ALTER TABLE DROP NOT NULL on child tables if parent column has it |
Дата | |
Msg-id | CAB7nPqT1iBCZ5wfJNsp_7GZtuaviW1zthS88Kt2MYdEaj2qk3g@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Prevent ALTER TABLE DROP NOT NULL on child tables if parent column has it (Alvaro Herrera <alvherre@2ndquadrant.com>) |
Список | pgsql-hackers |
On Thu, Jun 16, 2016 at 1:27 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > Michael Paquier wrote: >> On Wed, Jun 15, 2016 at 10:34 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > >> > IIRC, Alvaro posted a WIP patch for that awhile back. Not sure what the >> > current state is. >> >> Are you talking about that? >> https://www.postgresql.org/message-id/20110707213401.GA27098%40alvh.no-ip.org >> This is not a small patch :) >> >> Alvaro, others, any opinions? > > I haven't looked at this in a while. I suppose I should get it in shape > sometime. Unless you would like to work on it? Well, I could, but there is another big patch I am getting into shape for the next CF (Ahem. scram. Ahem), so I am going to stay focused on this one to have fuel for it during the CF. But I'm fine reviewing the patch for the DROP NOT NULL. > Note that Vitaly Burovoy rebased it, but I think the rebase is wrong. > https://www.postgresql.org/message-id/CAKOSWNkN6HSyatuys8xZxzRCR-KL1OkHS5-b9qd9bf1Rad3PLA@mail.gmail.com Yes, it is definitely wrong. -- Michael
В списке pgsql-hackers по дате отправления: