Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGEUO-0008FL-47 for pgsql-general@arkaria.postgresql.org; Tue, 16 Apr 2019 03:10:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hGEUM-000241-7U for pgsql-general@arkaria.postgresql.org; Tue, 16 Apr 2019 03:10:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGEUL-00023D-TH for pgsql-general@lists.postgresql.org; Tue, 16 Apr 2019 03:10:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGEUJ-0000NI-RH for pgsql-general@postgresql.org; Tue, 16 Apr 2019 03:10:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x3G3ALkC001366; Mon, 15 Apr 2019 23:10:21 -0400 From: Tom Lane To: Soni cc: pgsql-general@postgresql.org Subject: Re: PG10 declarative partitioning that allow null value In-reply-to: <9d9f18f2-bd18-ce97-8189-753097515331@gmail.com> References: <41964f36-ae96-f37c-edde-bcea231617b3@gmail.com> <9d9f18f2-bd18-ce97-8189-753097515331@gmail.com> Comments: In-reply-to Soni message dated "Tue, 16 Apr 2019 10:06:07 +0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1364.1555384221.1@sss.pgh.pa.us> Date: Mon, 15 Apr 2019 23:10:21 -0400 Message-ID: <1365.1555384221@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Soni writes: >> currently we are planning to migrate inheritance partitioning to >> declarative partitioning by range values of int on pg10. But the key >> values can contain null. I know that range partitioning does not allow >> null values. In v11 you could use a default partition ... regards, tom lane