RE: pg_upgrade 10.2 - Mailing list pgsql-general

From Murthy Nunna
Subject RE: pg_upgrade 10.2
Date
Msg-id DM5PR09MB15156F523C5E066175669CB1B87F0@DM5PR09MB1515.namprd09.prod.outlook.com
Whole thread Raw
In response to Re: pg_upgrade 10.2  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: pg_upgrade 10.2
Re: pg_upgrade 10.2
Re: pg_upgrade 10.2
List pgsql-general
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
 


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

On 06/12/2018 01:58 PM, Murthy Nunna wrote:
> Thanks Adrian.
> I removed "-k" flag. But still got same error.
> 
> There seems to be a postmaster servicing the old cluster.
> Please shutdown that postmaster and try again.
> Failure, exiting
> 

Well according to the code in pg_upgrade.c that message should not be reached when the check option is specified:

if (!user_opts.check)
         pg_fatal("There seems to be a postmaster servicing the old cluster.\n"
             "Please shutdown that postmaster and try again.\n"); else
         *live_check = true;

Can we see the actual command you ran?


--
Adrian Klaver
adrian.klaver@aklaver.com

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: pg_upgrade 10.2
Next
From: Adrian Klaver
Date:
Subject: Re: pg_upgrade 10.2