Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGtEk-0004iL-HA for pgsql-general@arkaria.postgresql.org; Mon, 20 Nov 2017 21:04:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGtEk-0004gu-2t for pgsql-general@arkaria.postgresql.org; Mon, 20 Nov 2017 21:04:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eGt3l-0006bU-NY for pgsql-general@lists.postgresql.org; Mon, 20 Nov 2017 20:52:53 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eGt3i-0004mR-NB for pgsql-general@postgresql.org; Mon, 20 Nov 2017 20:52:52 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id E97E898AEA2E for ; Mon, 20 Nov 2017 13:52:48 -0700 (MST) Date: Mon, 20 Nov 2017 13:52:48 -0700 (MST) From: legrand legrand To: pgsql-general@postgresql.org Message-ID: <1511211168922-0.post@n3.nabble.com> Subject: declarative partition by list, "other values" syntax MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, I was trying to create a partitionned table by list, that has on special partition for "other values" for exemple create table wiki_data_part( category varchar(20), tim_id bigint, pag_id bigint, requests int, size bigint ) PARTITION BY LIST (category ); CREATE TABLE wiki_data_part_a PARTITION OF wiki_data_part FOR VALUES IN ('ang.q','ace.mw', ...); CREATE TABLE wiki_data_part_b PARTITION OF wiki_data_part FOR VALUES IN ('bs.s','bh.mw','bar','br.d', ...); How could I create a partition containing the other values (like MINVALUE, MAXVALUE for range partition) ? CREATE TABLE wiki_data_part_others PARTITION OF wiki_data_part FOR VALUES IN (others); could not find it in doc https://www.postgresql.org/docs/10/static/sql-createtable.html Thanks in advance Regards PAscal -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html