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 1kkcbT-0004lZ-Ra for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 00:36:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkcbR-0008Td-77 for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 00:36:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkcbQ-0008T2-Um for pgsql-general@lists.postgresql.org; Thu, 03 Dec 2020 00:36:08 +0000 Received: from mail-oo1-xc31.google.com ([2607:f8b0:4864:20::c31]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kkcbL-0008Op-NJ for pgsql-general@postgresql.org; Thu, 03 Dec 2020 00:36:08 +0000 Received: by mail-oo1-xc31.google.com with SMTP id i30so103514ooh.9 for ; Wed, 02 Dec 2020 16:36:03 -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-language; bh=TYXMDEwD3RT6PriJFZg4k6NtMYsHKxcibXJqiAWoxW8=; b=edzWPt8QcTuxXkgF7FNTM6Z9E9HOvcq9HjRy+LsSWiXjx7vq7/AdlFWl+na4WwXQb2 c4D50vnVUrdRLfLrIOJM0jtqNWESvvMiLd23AHE06qCJhjZlicd3g/tQNlnWdxki4C5v jgvifcyyRFfGcC12WSWsmREgZ0zqW9shC6P2gvfhz6W0rMsFUvP/VQaaOP6rhLhh5KMK LB0anqdUaBqtDaF0BH77fsCMdYzzQ9/v5hbhsoZfmhk/oeaOJNKKfLR8g9ZKr+EzGAC0 mOH8Fped162l6zPNNI0f/JNzd2OMK3tP8Gi4CgDXxdGuTBmghy7ffxQUrOzzwFow146+ IOrA== 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-language; bh=TYXMDEwD3RT6PriJFZg4k6NtMYsHKxcibXJqiAWoxW8=; b=fZNpKELmslZq9uyGnGPz9Jaixqf7Fv7OKVTj50sy8qfRJ/orY7g1xR9D1R6sD4fADa qEwhS6R8FiSY3UE+yJ+jA1fPbME2Mdz132RucR9zy75PB3B1yYamZcWuF8KSeAg/H5kl puD1l5BVUnsIDnmWMfew7xKDO95zSRFdw29o1IoQllnw0+uz/AxyQADHHIwRi5il24Xu EbNWfduwrO+3Qry2bmOSVEAmxNyPQ/Cg4ww59l3beo0W+cSmNd+DU7+J8yKOOghu9LdM kcwq0ygBkgS5OkfG+A3EZTfCZ0TtevsBxmT/0lUKkE865RRdC2Kd61KGIc6KojDjqQHd YyNQ== X-Gm-Message-State: AOAM531YWtPa6YxEj3+JGaIkkjKhV+MRcOnsU3JOBZZ+yusj6FceTNUp MxzlZYKKrJYU+GYmj0uNSHswdIfOFGWKZA== X-Google-Smtp-Source: ABdhPJx5fdUC6NrRXF12pz1BkVC8GhGMt3d6m9RmTE2mCioZbC7KVKd6gf8dkUXeI3sUiu6hF3xswQ== X-Received: by 2002:a4a:7b4b:: with SMTP id l72mr374965ooc.45.1606955761848; Wed, 02 Dec 2020 16:36:01 -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 g82sm63410oib.38.2020.12.02.16.36.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2020 16:36:01 -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:36:00 -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: Content-Type: multipart/alternative; boundary="------------85264865DDB64338BA7CB0DA" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------85264865DDB64338BA7CB0DA Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 12/2/20 6:21 PM, David G. Johnston wrote: > On Wed, Dec 2, 2020 at 5:14 PM Ron > wrote: > > > > 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. > > > I'd probably just relocate the table to a separate schema and require that > all partitions are placed there as well.  Otherwise, the necessary > information exists in the catalogs, so a solution is within reach (minor > concern regarding concurrency). That's doable, but the developer (of the very large mission-critical *existing application*) would probably push back. -- Angular momentum makes the world go 'round. --------------85264865DDB64338BA7CB0DA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 12/2/20 6:21 PM, David G. Johnston wrote:
On Wed, Dec 2, 2020 at 5:14 PM Ron <ronljohnsonjr@gmail.com> wrote:

> 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.


I'd probably just relocate the table to a separate schema and require that all partitions are placed there as well.  Otherwise, the necessary information exists in the catalogs, so a solution is within reach (minor concern regarding concurrency).

That's doable, but the developer (of the very large mission-critical existing application) would probably push back.

--
Angular momentum makes the world go 'round.
--------------85264865DDB64338BA7CB0DA--