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 1kkbla-0002jq-KB for pgsql-general@arkaria.postgresql.org; Wed, 02 Dec 2020 23:42:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkblZ-0005pd-Ik for pgsql-general@arkaria.postgresql.org; Wed, 02 Dec 2020 23:42:33 +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 1kkblZ-0005pW-Bh for pgsql-general@lists.postgresql.org; Wed, 02 Dec 2020 23:42:33 +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 1kkblW-0006fG-46 for pgsql-general@postgresql.org; Wed, 02 Dec 2020 23:42:32 +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 0B2NgST51680963; Wed, 2 Dec 2020 18:42:28 -0500 From: Tom Lane To: Ron cc: "pgsql-general@postgresql.org >> PG-General Mailing List" Subject: Re: pg_dump of partitioned table not working. In-reply-to: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com> References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com> Comments: In-reply-to Ron message dated "Wed, 02 Dec 2020 17:27:36 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1680961.1606952548.1@sss.pgh.pa.us> Date: Wed, 02 Dec 2020 18:42:28 -0500 Message-ID: <1680962.1606952548@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ron writes: > What am I missing? There's no data in a partitioned table per se, so the result is not surprising. What you need here is something like "pg_dump -t measurement*" to indicate that you want measurement's child tables too, but AFAIR pg_dump has no such feature. Maybe we should add it. regards, tom lane