On 2017/12/13 15:59, Ali Akbar wrote: > 2017-12-13 9:10 GMT+07:00 Michael Paquier <[email protected]>: > >> >> It is not the first time that this topic shows up. See for example >> this thread from myself's version of last year: >> https://www.postgresql.org/message-id/CAB7nPqTPXgX9HiyhhtAgpW7jbA1is >> [email protected] >> Or this one: >> http://www.postgresql.org/message-id/[email protected] >> >> And the conclusion is that we don't want to do what you are doing >> here, and that it would be better to store NOT NULL constraints in a >> way similar to CHECK constraints. >> > > Thanks for the link to those thread. > > Judging from the discussion there, it will be a long way to prevent DROP > NOT NULL.
Yeah, I remembered that discussion when writing my email, but was for some reason convinced that everything's fine even without the elaborate book-keeping of inheritance information for NOT NULL constraints. Thanks Michael for reminding. Thanks, Amit
