From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Christophe Pettus <xof@thebuild.com>
Cc: tony@exquisiteimages.com
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pg_dump of database with numerous objects
Date: Sun, 31 May 2020 14:02:08 -0700
Message-ID: <f735afa0-a02e-74b8-67ca-0b046938066e@aklaver.com> (raw)
In-Reply-To: <2A4422F9-38BA-4F5F-A1F6-F55B6F0DB762@thebuild.com>
References: <6ef5dbeb1a02e0d01c5f085e4e49e496@exquisiteimages.com>
<00424372-5321-4183-9CBB-BBFC8585ECE7@thebuild.com>
<ae8645ed93326a2be802b87bd33cc4fc@exquisiteimages.com>
<B7B953F4-9CAF-46C1-80FF-C8C2BF4CD59B@thebuild.com>
<0a4039bb-bd35-d079-f124-61c4d91a81de@aklaver.com>
<2A4422F9-38BA-4F5F-A1F6-F55B6F0DB762@thebuild.com>
On 5/31/20 1:38 PM, Christophe Pettus wrote:
>
>
>> On May 31, 2020, at 13:37, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>>
>> Just a reminder that the OP's original issue was with using pg_upgrade.
>
> True, although IIRC pg_ugprade uses pg_dump under the hood to do the schema migration.
Again true, but pg_upgrade will not work older to newer:
/usr/local/pgsql11/bin/pg_upgrade --check -U postgres -d
/usr/local/pgsql11/data -D /usr/local/pgsql12_up/data -b
/usr/local/pgsql11/bin -B /usr/local/pgsql12/bin
Performing Consistency Checks
-----------------------------
Checking cluster versions
This utility can only upgrade to PostgreSQL version 11.
Failure, exiting
>
> --
> -- Christophe Pettus
> xof@thebuild.com
>
--
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, xof@thebuild.com, tony@exquisiteimages.com
Subject: Re: pg_dump of database with numerous objects
In-Reply-To: <f735afa0-a02e-74b8-67ca-0b046938066e@aklaver.com>
References: <6ef5dbeb1a02e0d01c5f085e4e49e496@exquisiteimages.com> <00424372-5321-4183-9CBB-BBFC8585ECE7@thebuild.com> <ae8645ed93326a2be802b87bd33cc4fc@exquisiteimages.com> <B7B953F4-9CAF-46C1-80FF-C8C2BF4CD59B@thebuild.com> <0a4039bb-bd35-d079-f124-61c4d91a81de@aklaver.com> <2A4422F9-38BA-4F5F-A1F6-F55B6F0DB762@thebuild.com> <f735afa0-a02e-74b8-67ca-0b046938066e@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