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 1kkcGf-0003yJ-NL for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 00:14:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkcGe-0006ZI-MQ for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 00:14:40 +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 1kkcGe-0006ZB-Ee for pgsql-general@lists.postgresql.org; Thu, 03 Dec 2020 00:14:40 +0000 Received: from mail-oo1-xc30.google.com ([2607:f8b0:4864:20::c30]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kkcGY-0006ui-2q for pgsql-general@postgresql.org; Thu, 03 Dec 2020 00:14:39 +0000 Received: by mail-oo1-xc30.google.com with SMTP id i7so94424oot.8 for ; Wed, 02 Dec 2020 16:14:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=7Y1wjaXBOJ+dF2IHh9hEJPVIzI5YpYGyIiPxWbY92T8=; b=UOww92M++f2zIjxDVGIpVC5MMx9VgSuIRnbF/xRBf03cxFrrUar6ZiTcTXmiRkghMD P1JUQhU5rbnFjeJfxY+MRDCTBxe1yqtUiHSdJhruxcvylM8w6NTorYVfcooqBs3xHeVY Pa4BLqrOXymHoXo3fDhFQSIZWN2zdO7xifPizM6RZfhYHNU/UNee7k3dTyRGCkmQ8+dc JYmYnxqwv4ezXd22XZWB47f/czJSe2j8kBEIr7CYlpyQwhI8rpHI76XdlBJoEACGP8Yt XbPk2H0+aWMbewc9p/ytzQOmaxogHQPYN4TGtS63XNTGuGt6U5C+Y7g6Cecgr/Rr8uUb Bn8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=7Y1wjaXBOJ+dF2IHh9hEJPVIzI5YpYGyIiPxWbY92T8=; b=H8sib5w4lgom9/iZdcGyRe1csHm6lW2GJA6s7yUp/XngZ8/aU5t0Xg+OS3qKxEirxI cXUd88lq6BPQ10F7yS901eC6AydcOnn+DfNX6SDSdH6AU8pkHPTACzpAcQgAbABzNSFN 1nG6rVXoPYmae7JcB//CEqSlZUHwuTPfEagBZgERBAZNbWoHW53qbEWMJjkuX0t+Kig3 Fy9wSuvmpyi+T5uWDiO0S6PdoxbLalmCsZVFF4q5e/XJWpDbDqaiMOCOMu9mrijmghfB ZVFjmtJRBRy628Z3A+zkEj+vemIfeisT9LE6SyNXh8zZaevRYSnDuXoTnVSvZq04Lkt6 Z2/Q== X-Gm-Message-State: AOAM530uiJOecxWAMzLM+bDAfeN15pzuavlxuZvrHRHy6Sr5fxN2rxMI Tjw7IoQVklUKofpfDOsmERQH4iZEEiTgrQ== X-Google-Smtp-Source: ABdhPJxYnYPQwa4/1Ia+SUW6EaHl0NWNkAdfPOYMRobmH5xyiJ+97YZM+KOuYK4lKqM/dqFAiLnn2Q== X-Received: by 2002:a4a:5857:: with SMTP id f84mr362310oob.34.1606954472578; Wed, 02 Dec 2020 16:14:32 -0800 (PST) Received: from [192.168.1.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id a22sm98805otl.47.2020.12.02.16.14.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2020 16:14:32 -0800 (PST) Subject: Re: pg_dump of partitioned table not working. To: "pgsql-general@postgresql.org >> PG-General Mailing List" References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com> <1680962.1606952548@sss.pgh.pa.us> <1681291.1606953006@sss.pgh.pa.us> From: Ron Message-ID: Date: Wed, 2 Dec 2020 18:14:31 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1681291.1606953006@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/2/20 5:50 PM, Tom Lane wrote: > I wrote: >> 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. > Or actually: that syntax does do something, but it selects > tables by pattern matching not hierarchy, ie you get everything > whose name starts with "measurement". Depending on your naming > conventions, that might be close enough. > > It does seem like there might be reason to have a switch along > the lines of "--include-child-tables". That would be great, but won't help me in v12. -- Angular momentum makes the world go 'round.