Re: pg_upgrade 10.2 - Mailing list pgsql-general

From Adrian Klaver
Subject Re: pg_upgrade 10.2
Date
Msg-id 5f0d7335-e681-56bb-7d14-cf97fccb1bcf@aklaver.com
Whole thread Raw
In response to RE: pg_upgrade 10.2  (Murthy Nunna <mnunna@fnal.gov>)
Responses RE: pg_upgrade 10.2  (Murthy Nunna <mnunna@fnal.gov>)
RE: pg_upgrade 10.2  (Murthy Nunna <mnunna@fnal.gov>)
RE: pg_upgrade 10.2  (Murthy Nunna <mnunna@fnal.gov>)
List pgsql-general
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: Alexander Shutyaev
Date:
Subject: Re: pg_upgrade and wraparound
Next
From: Murthy Nunna
Date:
Subject: RE: pg_upgrade 10.2