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 1hvTGK-0003xL-1t for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Aug 2019 21:14:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hvTGI-0006eA-SE for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Aug 2019 21:14:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hvTDo-00080u-4x for pgsql-hackers@lists.postgresql.org; Wed, 07 Aug 2019 21:11:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hvSuy-0001QB-OB for pgsql-hackers@lists.postgresql.org; Wed, 07 Aug 2019 20:52:21 +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 x77GiDRt005256; Wed, 7 Aug 2019 12:44:13 -0400 From: Tom Lane To: Alvaro Herrera cc: Amit Langote , Pg Hackers Subject: Re: no default hash partition In-reply-to: <20190807162945.GA28711@alvherre.pgsql> References: <20190807162945.GA28711@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 07 Aug 2019 12:29:45 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5254.1565196253.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 07 Aug 2019 12:44:13 -0400 Message-ID: <5255.1565196253@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > Actually, it also says this (in the blurb for the PARTITION OF clause): > Creates the table as a partition of the spe= cified > parent table. The table can be created either as a partition for s= pecific > values using FOR VALUES or as a default partiti= on > using DEFAULT. This option is not available fo= r > hash-partitioned tables. > which I think is sufficient. Hm, that's rather confusingly worded IMO. Is the antecedent of "this option" just DEFAULT, or does it mean that you can't use FOR VALUES, or perchance it means that you can't use a PARTITION OF clause at all? regards, tom lane