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 1kkcN4-0004Cb-Ij for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 00:21:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkcN3-0003K0-Ca for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 00:21:17 +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 1kkcN2-0003Jt-90 for pgsql-general@lists.postgresql.org; Thu, 03 Dec 2020 00:21:17 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkcMz-00089z-EW for pgsql-general@postgresql.org; Thu, 03 Dec 2020 00:21:15 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0CD705C0124; Wed, 2 Dec 2020 19:21:12 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 02 Dec 2020 19:21:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=/ WZIlliLlUAdcwfyYVeU2y97LmDrJv4YZNPmXXLrXXo=; b=JxA+p+z8dslK2iGbf pTJpR0rVJW86Q87WBoFO2PGtFcDaJUcyKlaTsLV0N0nGVyGxtIKQXR0+sAo2/45m 3cj/eGUcN+kFmgVUqWHzvhl4b8KM5iuTGKT8OOmuO0zpF9MZvjj1hMAojBabi0Zs XrbFU5KvkWmec8V8q3d1+0gIRFlL/wIz+d0t6e5D711+eF9Smy6HdtNbRha3OwZ7 DM/Le+QzNJM6rFRpBPem6W/xZHmWu/53oNkji7VFptIOxzpuy9uvf6EqFjTD9SV8 iJxt6MHLXO+JqViQMyFk+3i70EOsJgzl9SFSxTXj77SpCSfS2RfIC0Ud3V1fFZpy 2Xhvw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=/WZIlliLlUAdcwfyYVeU2y97LmDrJv4YZNPmXXLrX Xo=; b=VRBmAnOeR9+WkhDiyjhaws+Lsze01EG3nsnNoUOAGv6xS9SJD5m7bdNhp yiBYVa+wWgY9b+FswiTihHfl++tFIRknzjV+H00qTmhjWYytQGI+K0oN/pfs/U+1 Rh+djAHtAL/1+Dtxqi3IBB1ehph0bKX/fo2Tr0L+/Zg5v9HwxnjW5m7nRsSGZeB2 wutB9kmdNsgMOIaUeDQ4z0AtBRLmTiRDmWE/tJCdTfRmVUTJhj0KVe26W+BKX9Vs qWnUl7QrXiuBFiQecLR0fIxBwALQo+tlUCwq0yysF3Pp1qZomGmro1Bg2E0oeDoN ukjv4h7WzKWnEN7eFt/GogQfXkLtw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeihedgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepteejvdetff ejuedvleeifeefheeutdfhgfdvhffhhfekvdduveegvdejudefgfevnecukfhppeejhedr udejvddruddrieelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.4] (75-172-1-69.tukw.qwest.net [75.172.1.69]) by mail.messagingengine.com (Postfix) with ESMTPA id 21F6824005C; Wed, 2 Dec 2020 19:21:11 -0500 (EST) Subject: Re: pg_dump of partitioned table not working. To: Ron , "pgsql-general@postgresql.org >> PG-General Mailing List" References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com> <59ed92cc-f841-d79e-1b00-9e84f4eeafc7@gmail.com> From: Adrian Klaver Message-ID: <6fca1741-c143-bf43-990a-b00634137f7b@aklaver.com> Date: Wed, 2 Dec 2020 16:21:10 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <59ed92cc-f841-d79e-1b00-9e84f4eeafc7@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/2/20 4:13 PM, Ron wrote: > On 12/2/20 6:08 PM, David G. Johnston wrote: >> On Wed, Dec 2, 2020 at 5:06 PM Ron > > wrote: >> That you were comparing apples and oranges - specifically that the >> database you were dumping was empty but the one you were checking was not. >> > > While I could have shown the exact psql commands > (/usr/lib/postgresql/12/bin/psql -p5433) it wasn't necessary. From the POV of the mailing list participants it was necessary as the below constitutes hidden information we didn't have access to. When presenting a issue explicit is better then implicit. I cannot count the number of times issues where solved on this list when someone got around to asking for a explicit command. > > I know that was the command, because I use a set of aliases: > > alias pgdump12='/usr/lib/postgresql/12/bin/pg_dump -p5433' > alias pgdump96='/usr/lib/postgresql/9.6/bin/pg_dump -p5432' > alias pgrestore12='/usr/lib/postgresql/12/bin/pg_restore -p5433' > alias pgrestore96='/usr/lib/postgresql/9.6/bin/pg_restore -p5432' > alias psql12='/usr/lib/postgresql/12/bin/psql -p5433' > alias psql96='/usr/lib/postgresql/9.6/bin/psql -p5432' > > -- > Angular momentum makes the world go 'round. -- Adrian Klaver adrian.klaver@aklaver.com