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 1kkcdY-0004qU-Rv for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 00:38:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkcdX-0003Ql-QR for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 00:38:19 +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 1kkcdX-0003Qe-J1 for pgsql-general@lists.postgresql.org; Thu, 03 Dec 2020 00:38:19 +0000 Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kkcdV-000755-Fl for pgsql-general@postgresql.org; Thu, 03 Dec 2020 00:38:18 +0000 Received: by mail-oi1-x242.google.com with SMTP id t205so370590oib.12 for ; Wed, 02 Dec 2020 16:38:17 -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=l6mRXL1aspINt6n5EgC8l16okTdaTt/EFllilgRmO6o=; b=TdJkSXapvbPQsDzB5LhX8+iJFnddyWO7I2Ymw3nxbKECBFygN6A+qzYd9/IuThRDkA e8yYfmd9ZblXubNa6CVgnPTc4tnP4LBX7J89VucxNd6Tr9uCtDlb9itk2vFCwS3bR8Ze bwjB8syUUQ1z3IRnDt8hYOq4Nhl/PWBbhIMrVb5P+xJLNP6/SxKqxAl4fyzAriQTOvZC LjaMY9hRH3er21xOr4b/G/TgP8wv6M8lJdEXNtPpex66kBmbh3OmSMWe3fGPeGNPwqed 4e1ERDoGx7VPKmaPBuABXiFY7hcH9AH+xNk2ZO4xrgVsUioQzFAPElP+eFN82koBzEzi rejQ== 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=l6mRXL1aspINt6n5EgC8l16okTdaTt/EFllilgRmO6o=; b=B9tvT3gM72QcV3D14vPub0r/KvEkP9ypJ40skn8Pd8uDlnjtmaRglZxDFYAsn6P4ik 98pUTIjSBmp6mVLKUoj94xyJ4VjW5/RY4OcTytH+YO+jBiTXPbmL1wNTgee34fLFlctJ PZ5sgjdIYETDBJjIncUs3Vhbqrqfw86PlcS2Gnc0Zeb562t7IgL64l6R3Q57ScMTNNBK 8J0AY1nIvjCbp/qaNS7MwBJ67Ry3zme1Fxw8Hr9It2yOGBWKoIdIuVRyUPOp3c+xgNlc 0oQb9oqcwbuskuMAv+ZalFCLL/0/P5uEGFPEC95O6hPVeHEapqCOQOHuDgkQFL0l/u8o yzUw== X-Gm-Message-State: AOAM533aj6aFAm7stjIawMbbEMtdynz5v3BYFNm0zm5KfOBV7Gat7z5r Ezmxk2bJhuuR7L8A3AiG3u9Gp/TsOXEOWQ== X-Google-Smtp-Source: ABdhPJzhev3I4jbQ5bWTmmLf8CtfdPUQtAGBVU3A+TkhCKM9UA5OcmpSa7IouQx30/Amf4G/jrkRAw== X-Received: by 2002:aca:bc03:: with SMTP id m3mr323745oif.106.1606955896322; Wed, 02 Dec 2020 16:38:16 -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 x9sm123176otk.9.2020.12.02.16.38.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2020 16:38:15 -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> <59ed92cc-f841-d79e-1b00-9e84f4eeafc7@gmail.com> <6fca1741-c143-bf43-990a-b00634137f7b@aklaver.com> From: Ron Message-ID: <475c9525-5573-77e0-3eec-7cffd3ee2006@gmail.com> Date: Wed, 2 Dec 2020 18:38:14 -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: <6fca1741-c143-bf43-990a-b00634137f7b@aklaver.com> 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 6:21 PM, Adrian Klaver wrote: > 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. Shame on me for assuming, based on the explicit pg_dump command in the example. > >> >> 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. > > -- Angular momentum makes the world go 'round.