From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ron <ronljohnsonjr@gmail.com>
To: " <pgsql-general@postgresql.org>
Subject: Re: pg_dump of partitioned table not working.
Date: Wed, 2 Dec 2020 16:21:10 -0800
Message-ID: <6fca1741-c143-bf43-990a-b00634137f7b@aklaver.com> (raw)
In-Reply-To: <59ed92cc-f841-d79e-1b00-9e84f4eeafc7@gmail.com>
References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com>
<CAKFQuwbTMAxAr7tM8EthAi0vc4GRGKeA2GeqfZkpoaX=6BcjZg@mail.gmail.com>
<ace9b6ea-e016-42f7-a5c6-634244b1d586@gmail.com>
<CAKFQuwbSAW-uFB=W4U4TDH_N69x8EkjgQwjpwX=kKEcMO+iG_Q@mail.gmail.com>
<59ed92cc-f841-d79e-1b00-9e84f4eeafc7@gmail.com>
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 <ronljohnsonjr@gmail.com
>> <mailto:ronljohnsonjr@gmail.com>> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, ronljohnsonjr@gmail.com
Subject: Re: pg_dump of partitioned table not working.
In-Reply-To: <6fca1741-c143-bf43-990a-b00634137f7b@aklaver.com>
References: <6b713437-69e3-0383-0c5f-f2e01bd46daa@gmail.com> <CAKFQuwbTMAxAr7tM8EthAi0vc4GRGKeA2GeqfZkpoaX=6BcjZg@mail.gmail.com> <ace9b6ea-e016-42f7-a5c6-634244b1d586@gmail.com> <CAKFQuwbSAW-uFB=W4U4TDH_N69x8EkjgQwjpwX=kKEcMO+iG_Q@mail.gmail.com> <59ed92cc-f841-d79e-1b00-9e84f4eeafc7@gmail.com> <6fca1741-c143-bf43-990a-b00634137f7b@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox