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 1kkdm1-0007Wv-VH for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 01:51:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkdm0-0008Vy-Uv for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 01:51:08 +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 1kkdm0-0008T7-Kr for pgsql-general@lists.postgresql.org; Thu, 03 Dec 2020 01:51:08 +0000 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kkdlv-0007kh-1y for pgsql-general@postgresql.org; Thu, 03 Dec 2020 01:51:07 +0000 Received: by mail-oi1-x22b.google.com with SMTP id l4so580830oii.4 for ; Wed, 02 Dec 2020 17:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=PljGR9TY1Qi5XhrdA0a2Y+cLFEtWMUJmeCHeXT8jCgE=; b=fCj3xcIc418aWS89/Kc7NXlZy0Dy8uTMb74mtg0jmvXZJj7f+VOWLl2wT8wEacoAho FWq2pn6/omxTW40hcrkKJDDKhvNER9gsxC0a4LUAJ8anRVrVQQ4dI/i/ybjjEIMv28a5 at7FQFoiY5o/pP9yKTHOI8npwFocaM12EhQVXZSHL3rypiPlhpOV+aY7/tiVP7GlTULy 1+yo4dhocRfWgpxidGumjmEenJZfQQ9beQKXJ09nBsY0YXyexDWbZeX00C9ySXUtFstM Y/eC7jqnNL+Uti8zx1y3Qx22PC7iUOZHKgUS+2O25bx4p0NjrNbsTfR5FeaS6hB27UMq pIuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=PljGR9TY1Qi5XhrdA0a2Y+cLFEtWMUJmeCHeXT8jCgE=; b=Me4zGCpHDe+VxRIgRgRXAATCeFPQeYqZFl1RsIcAg3uZCeXrFOvn4CBaWFXbZ5I7zy ziDiexZ8dVzXdZOzIeFXtY0vQ2GMJ2PWA5sw40NwjDdPDo6aRD94QGuy+FtIrG9AUljX TG01nSd71/fYFiXRQuLdfD7py8Jl9fE2pw6SviAeX+ha9SuF8agsoKv1v7GCO3kN1OIL aRc2k2TOpDUhqBKSitjr0gOMTOtIc+UtV9AsNeTQt0WAgbGF3HIdOUbpMRrWD1e2aH2I S0+cigbOzl7ushiD9Ynwag3aZ0DO/ZQ0aiD3vs+DREMR5SHR9zSd8zuenxEUiNKH+98v Rvxg== X-Gm-Message-State: AOAM532ZyuQmtiZRu/CwL1rBuMW2x5oXu/HFgAGB0eLzg1yRAtoK6m2d DinGqxoyBQbOk74OSzUt+QAqOwN4ypfZzQ== X-Google-Smtp-Source: ABdhPJyMSc0gdkLTW0XI+8lIQfqyFYJavIo8qAXnJqPvo4a4OR66itic5ALO8FRauovdQphaVhQbjw== X-Received: by 2002:aca:5093:: with SMTP id e141mr493464oib.76.1606960261847; Wed, 02 Dec 2020 17:51: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 t13sm117494oic.4.2020.12.02.17.51.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2020 17:51:01 -0800 (PST) Subject: Re: pg_dump of partitioned table not working. From: Ron 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> Message-ID: Date: Wed, 2 Dec 2020 19:51: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: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/2/20 6:14 PM, Ron wrote: > 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. To clarify: I'm not being sarcastic.  Such a feature really would be useful. -- Angular momentum makes the world go 'round.