RE: pg_upgrade 10.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx] 
Sent: Tuesday, June 12, 2018 4:13 PM
To: Murthy Nunna <mnunna@xxxxxxxx>; pgsql-general@xxxxxxxxxxxxxxxxxxxx; pgsql-admin@xxxxxxxxxxxxxxxxxxxx; pgsql-performance@xxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxx




[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux