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 1kkc9B-0003hg-JM for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 00:06:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkc9A-00019d-Ht for pgsql-general@arkaria.postgresql.org; Thu, 03 Dec 2020 00:06:56 +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 1kkc9A-00018I-A2 for pgsql-general@lists.postgresql.org; Thu, 03 Dec 2020 00:06:56 +0000 Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kkc98-00083C-GT for pgsql-general@postgresql.org; Thu, 03 Dec 2020 00:06:55 +0000 Received: by mail-oi1-x242.google.com with SMTP id h3so323505oie.8 for ; Wed, 02 Dec 2020 16:06:54 -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=asF5FQInbcf1FcPL2loYQcAzyaXtVRV23ZYJpUTE/V0=; b=MSdJ4y6nEk06tuXAVhluLPr1G1dfPEnuaAXdS+c9obZnFscx+Ok64R1OuEt3920Ykz zIJKMKKFzk9uYG7E03DlpqPmgI7PdWfhQR7D8pI7wdE4bgNfrqVFA1Cj6D9xtI4/gz+p jxaz56Igud1jSku09sQIhYYLU+mjn2oJGAboVPk5r8OqaBRVYESQJzUiKKquQ6D7YiK6 hLCYhAxxTd5xnWWkxHbfKGqmQ5HgQ2XDwFc8+GLdARoOn/8iVsFvZITR7pb2oRFn4Gch Sait0ZvW5mcnuYHoZagGOqFGLz/sIqeiAOOLp82nK0HArIUex7XHFicw9et3z70ly3m2 5A6Q== 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=asF5FQInbcf1FcPL2loYQcAzyaXtVRV23ZYJpUTE/V0=; b=faE9l3dLwr2zHqp+/m+4itjGJCM/HNm07J5ET+O2OHf6s1mkfuATrt33TkWarFGrcx 62AGalnSXsRMh+rv0UR/R86EjU364WluOOJopwaQBakO/qEbBbD4VzeKe27Q7nrEQh3f pompXz9QowyuIJfDgBqVcFxLWutxYZma9TFdqzumEzJtcGEboTcWiEE0TcJymnoSIgnf 5y3QZou1G1rczshOXEvZNt2TL6MxdshSXdeI/tel51mDQEsZdE2gLR978eFCcydYodfS FDLd1aXQi37ghrqwSDnHRWQ3RDoirT6NwiIDhMcuI9lhEl21EujBEv9zi3saqNDzIOEd mofQ== X-Gm-Message-State: AOAM533tayLgv01VhSH82+0S8iTitP8rlVBKB5mm1FFPbzjuFbbbtRby L/xaiEOA9jdb2oehpI1lXKqry+25fE+ABg== X-Google-Smtp-Source: ABdhPJwFm7iuRKxiIxbNeEiOGXFZJs3oATcqXUKIsDVglTu03qopXiYw3rMRV75uxGe2O+9Ep8ooOw== X-Received: by 2002:aca:ed82:: with SMTP id l124mr221935oih.67.1606954012785; Wed, 02 Dec 2020 16:06:52 -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 k10sm90208otb.81.2020.12.02.16.06.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2020 16:06:52 -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> From: Ron Message-ID: Date: Wed, 2 Dec 2020 18:06:51 -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="------------FD4B43B65EECF77363E882B3" 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. --------------FD4B43B65EECF77363E882B3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 12/2/20 5:35 PM, David G. Johnston wrote: > On Wednesday, December 2, 2020, Ron > wrote: > > What am I missing? > > (Specifying the whole file name because multiple versions are installed.) > > $ /usr/lib/postgresql/12/bin/pg_dump --version > pg_dump (PostgreSQL) 12.5 (Ubuntu 12.5-1.pgdg18.04+1) > > postgres=# \d+ measurement > > > psql? on (default) port 5432 > > > $ /usr/lib/postgresql/12/bin/pg_dump -p5433 -d postgres -t measurement > --data-only > > >  pg_dump on port 5433 > > Usually different ports means different clusters That's right.  What's your point? -- Angular momentum makes the world go 'round. --------------FD4B43B65EECF77363E882B3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 12/2/20 5:35 PM, David G. Johnston wrote:
On Wednesday, December 2, 2020, Ron <ronljohnsonjr@gmail.com> wrote:
What am I missing?

(Specifying the whole file name because multiple versions are installed.)

$ /usr/lib/postgresql/12/bin/pg_dump --version
pg_dump (PostgreSQL) 12.5 (Ubuntu 12.5-1.pgdg18.04+1)

postgres=# \d+ measurement
                          

psql? on (default) port 5432 


 
$ /usr/lib/postgresql/12/bin/pg_dump -p5433 -d postgres -t measurement --data-only


 pg_dump on port 5433

Usually different ports means different clusters

That's right.  What's your point?

--
Angular momentum makes the world go 'round.
--------------FD4B43B65EECF77363E882B3--