RE: pg_upgrade 10.2

From: Murthy Nunna <mnunna(at)fnal(dot)gov>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>, "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: RE: pg_upgrade 10.2
Date: 2018-06-12 21:49:32
Message-ID: DM5PR09MB151575804C46BE5FCE21E5F3B87F0@DM5PR09MB1515.namprd09.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-performance

Hi Adrian,

Port numbers are correct.

I moved the position of -c (-p 5433 -P 5434 -c -r -v). Now it is NOT complaining about old cluster running. However, I am running into a different problem.

New cluster database "ifb_prd_last" is not empty
Failure, exiting

Note: ifb_prd_last is not new cluster. It is actually old cluster.

Is this possibly because in one of my earlier attempts where I shutdown old cluster and ran pg_upgrade with -c at the end of the command line. I think -c was ignored and my cluster has been upgraded in that attempt. Is that possible?

-----Original Message-----
From: Adrian Klaver [mailto:adrian(dot)klaver(at)aklaver(dot)com]
Sent: Tuesday, June 12, 2018 4:35 PM
To: Murthy Nunna <mnunna(at)fnal(dot)gov>; pgsql-general(at)lists(dot)postgresql(dot)org; pgsql-admin(at)lists(dot)postgresql(dot)org; pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: pg_upgrade 10.2

On 06/12/2018 02:18 PM, Murthy Nunna wrote:
> pg_upgrade -V
> pg_upgrade (PostgreSQL) 10.4
>
> pg_upgrade -b /fnal/ups/prd/postgres/v9_3_14_x64/Linux-2-6/bin -B
> /fnal/ups/prd/postgres/v10_4_x64/Linux-2-6/bin -d
> /data0/pgdata/ifb_prd_last -D /data0/pgdata/ifb_prd_last_104 -p 5433
> -P 5434 -r -v –c
>
>

Looks good to me. The only thing that stands out is that in your original post you had:

-p 5432

and above you have:

-p 5433

Not sure if that makes a difference.

The only suggestion I have at the moment is to move -c from the end of the line to somewhere earlier on the chance that there is a bug that is not finding it when it's at the end.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jerry Sievers 2018-06-12 23:24:10 Re: pg_upgrade 10.2
Previous Message Adrian Klaver 2018-06-12 21:34:52 Re: pg_upgrade 10.2

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Bartley 2018-06-12 22:37:14 Logging
Previous Message Christophe combet 2018-06-12 21:43:17 Re: Out of memory error with PG10.3, 10.4 but not 9.3.19

Browse pgsql-performance by date

  From Date Subject
Next Message Jerry Sievers 2018-06-12 23:24:10 Re: pg_upgrade 10.2
Previous Message Adrian Klaver 2018-06-12 21:34:52 Re: pg_upgrade 10.2