On Thu, May 11, 2017 at 10:15 PM, Amit Langote <langote_amit...@lab.ntt.co.jp> wrote: > On 2017/05/12 10:42, Robert Haas wrote: >> On Thu, May 11, 2017 at 12:02 PM, Dilip Kumar <dilipbal...@gmail.com> wrote: >>> We need to add PARTITION_STRATEGY_HASH as well, we don't support NULL >>> for hash also, right? >> >> I think it should. >> >> Actually, I think that not supporting nulls for range partitioning may >> have been a fairly bad decision. > > I think the relevant discussion concluded  that way, because we > couldn't decide which interface to provide for specifying where NULLs are > placed or because we decided to think about it later.
Yeah, but I have a feeling that marking the columns NOT NULL is going to make it really hard to support that in the future when we get the syntax hammered out. If it had only affected the partition constraints that'd be different. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers