Re: pg_dump of database with numerous objects - Mailing list pgsql-general

From Adrian Klaver
Subject Re: pg_dump of database with numerous objects
Date
Msg-id f735afa0-a02e-74b8-67ca-0b046938066e@aklaver.com
Whole thread Raw
In response to Re: pg_dump of database with numerous objects  (Christophe Pettus <xof@thebuild.com>)
Responses Re: pg_dump of database with numerous objects  (Bruce Momjian <bruce@momjian.us>)
List pgsql-general
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



pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: Re: How to start slave after pg_basebackup. Why min_wal_size and wal_keep_segments are duplicated
Next
From: "Andrus"
Date:
Subject: Re: How to start slave after pg_basebackup. Why min_wal_size and wal_keep_segments are duplicated