Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpwXM-0005wX-GG for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Nov 2021 17:58:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mpwXL-0002RW-4O for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Nov 2021 17:58:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpwXK-0002RN-SC for pgsql-bugs@lists.postgresql.org; Wed, 24 Nov 2021 17:58:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpwXI-0000TI-32 for pgsql-bugs@lists.postgresql.org; Wed, 24 Nov 2021 17:58:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1AOHwMcn175811; Wed, 24 Nov 2021 12:58:22 -0500 From: Tom Lane To: "Ian R. Campbell" cc: pgsql-bugs@lists.postgresql.org Subject: Re: PG 14 range partitions creation works but subsequently can't be found correctly In-reply-to: References: Comments: In-reply-to "Ian R. Campbell" message dated "Wed, 24 Nov 2021 17:23:03 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <175809.1637776702.1@sss.pgh.pa.us> Date: Wed, 24 Nov 2021 12:58:22 -0500 Message-ID: <175810.1637776702@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Ian R. Campbell" writes: > The following executes without problem: > CREATE TABLE part ( > h "char" not null, > val int4 not null > ) PARTITION BY RANGE (h); > create table part_00 partition of part FOR VALUES FROM ((-128)::"char") to > ((-113)::"char"); > create table part_01 partition of part FOR VALUES FROM ((-112)::"char") to > ((-97)::"char"); > ... This works for me in psql, modulo the fact that your boundary conditions are off-by-one. (That is, I can store h = -114 and -112, but not -113, in this table.) > In pgAdmin 4, navigating to "Partitions" (after refreshing) results only in > a spinning wheel. That sounds like a pgAdmin bug --- but this list is not the place to report pgAdmin problems. regards, tom lane