Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fSt9i-0002xA-H3 for pgsql-admin@arkaria.postgresql.org; Tue, 12 Jun 2018 23:56:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fSt9h-0001Kz-8D for pgsql-admin@arkaria.postgresql.org; Tue, 12 Jun 2018 23:56:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fSt9g-0001Kf-SR for pgsql-admin@lists.postgresql.org; Tue, 12 Jun 2018 23:56:53 +0000 Received: from resqmta-ch2-01v.sys.comcast.net ([2001:558:fe21:29:69:252:207:33]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fSt9d-0007W1-N4 for pgsql-admin@lists.postgresql.org; Tue, 12 Jun 2018 23:56:51 +0000 Received: from resomta-ch2-05v.sys.comcast.net ([69.252.207.101]) by resqmta-ch2-01v.sys.comcast.net with ESMTP id SqKufQW5PaW5ASt9cfk4Xc; Tue, 12 Jun 2018 23:56:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1528847808; bh=TMY1TpW7UKnYgRpiJMlBhduSVN8jf+GjvVvGb7wjSKo=; h=Received:Received:Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=aukGk21jXuxFfLRYg7O/1+9XfZKYcz5HStk9263rNvbqEXJFLsu0GKiE1Pw+xmc7q IGFk7CUm2PNE4SE4XPuxgcMY8flTZlv6wI4GGSfncncw29AXmPzaclZDq4jAl1GHjn Z+5hTw4mFcljpHNkuFr+PhR5EI3bU5yHfQQvad/VPqseZk2w7d7w675qUlT40sZBzN bskEC0wQ6OoronzQuxLzQ7pYagSRWBCVSkCM3VouWbBrBjDoL6YZxb9jhsTO13STWz ySCegmPzC8TZ/xjIlBmc8yTwR4htxYJCElWXq61MafiJIE6QrpI9r/A+/dh7VgMHsP OzyMNlwyXo1cQ== Received: from jsievers.comcast.net ([12.30.159.20]) by resomta-ch2-05v.sys.comcast.net with ESMTPA id St9LfycTXAkphSt9LfESza; Tue, 12 Jun 2018 23:56:46 +0000 Received: from jsievers.enova.com (localhost [127.0.0.1]) by jsievers.comcast.net (Postfix) with ESMTP id B4E25260056; Tue, 12 Jun 2018 18:56:30 -0500 (CDT) From: Jerry Sievers To: Murthy Nunna Cc: Jerry Sievers , Adrian Klaver , "pgsql-general\@lists.postgresql.org" , "pgsql-admin\@lists.postgresql.org" , "pgsql-performance\@lists.postgresql.org" Subject: Re: pg_upgrade 10.2 References: <1a3ebd40-7870-3eab-97d4-ca2b9907d917@aklaver.com> <5f0d7335-e681-56bb-7d14-cf97fccb1bcf@aklaver.com> <4b66fd13-951c-fab6-a618-d27860ba465b@aklaver.com> <871sdbzizp.fsf@jsievers.enova.com> Date: Tue, 12 Jun 2018 18:56:30 -0500 In-Reply-To: (Murthy Nunna's message of "Tue, 12 Jun 2018 23:41:22 +0000") Message-ID: <87tvq7y2xd.fsf@jsievers.enova.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4wfM/VUepEtSAcw3ctaWAZdNYexRcAap54guOu/iGLdDSui5riE8FfzUBDNn/Lr/HcJgyVcFPYQVp4oi/VMlvbzo6dUbbNrSbwCI2d+XHpn00+VSpgk40R znavU6XhdTDgzf8jE74jnXZcLHd0CIrYlTrNu5zq3iKarZukt8HJXMcBIvpQtiIuWsBP83SukgUFCuLLDytV6blq9htBO2Vr2/tRCtL9TK2vsGOrUebE8lpt cWIa3XRGjQb4EeZfPxJu7L3oGOCjREmkp9o4vq6PnS8/kkfC4erwJIR5qRYocdXjV3KwT25ghsYjGH3XOWn+0pJd065zW+K2ivP754ZMublEr/VZXHU1rY17 wXz/AsZzAPJwhzXmtYYq3+Hc4Y9YUgunW+10ULtGglcLOHEmXBM= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Murthy Nunna writes: > Jerry, > > OMG, I think you nailed this... I know what I did. I cut/pasted the > command from an e-mail... I have seen this issue before with stuff not Oh! I suggest you lose that habit ASAP before ever issuing another command to anything :-) > related to postgres. But then those commands failed in syntax error > and then you know what you did wrong. > > Similarly, I expect pg_upgrade to throw an error if it finds something it= doesn't understand instead of ignoring and causing damage. Don't you agree? Well, pg_upgrade might never have seen your $silly-dash since possibly your shell or terminal driver swallowed it. > > Thanks for pointing that out. I will redo my upgrade. > > -r -v -k -c --- good flags no utf8 > -r -v -k =E2=80=93c --- bad flags.... > > > > > -----Original Message----- > From: Jerry Sievers [mailto:gsievers19@comcast.net]=20 > Sent: Tuesday, June 12, 2018 6:24 PM > To: Murthy Nunna > Cc: Adrian Klaver ; pgsql-general@lists.postgr= esql.org; pgsql-admin@lists.postgresql.org; pgsql-performance@lists.postgre= sql.org > Subject: Re: pg_upgrade 10.2 > > Murthy Nunna writes: > >> Hi Adrian, >> >> Port numbers are correct. >> >> I moved the position of -c (-p 5433 -P 5434 -c -r -v). Now it is NOT com= plaining about old cluster running. However, I am running into a different = problem. > > I noted in your earlier message the final -c... the dash was not a regula= r 7bit ascii char but some UTF or whatever dash char. > > I wonder if that's what you fed your shell and it caused a silent parsing= issue, eg the -c dropped. > > But of course email clients wrap and mangle text like that all sorts of f= un ways so lordy knows just what you originally sent :-) > > FWIW > > >> >> 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=20 >> shutdown old cluster and ran pg_upgrade with -c at the end of the=20 >> command line. I think -c was ignored and my cluster has been upgraded=20 >> in that attempt. Is that possible? >> >> >> -----Original Message----- >> From: Adrian Klaver [mailto:adrian.klaver@aklaver.com] >> Sent: Tuesday, June 12, 2018 4:35 PM >> To: Murthy Nunna ;=20 >> pgsql-general@lists.postgresql.org; pgsql-admin@lists.postgresql.org;=20 >> pgsql-performance@lists.postgresql.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 >>>=20 >>> pg_upgrade -b /fnal/ups/prd/postgres/v9_3_14_x64/Linux-2-6/bin -B=20 >>> /fnal/ups/prd/postgres/v10_4_x64/Linux-2-6/bin -d=20 >>> /data0/pgdata/ifb_prd_last -D /data0/pgdata/ifb_prd_last_104 -p 5433=20 >>> -P 5434 -r -v =E2=80=93c >>>=20 >>> >> >> Looks good to me. The only thing that stands out is that in your origina= l 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 t= he 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.klaver@aklaver.com > > -- > Jerry Sievers > Postgres DBA/Development Consulting > e: postgres.consulting@comcast.net > p: 312.241.7800 --=20 Jerry Sievers Postgres DBA/Development Consulting e: postgres.consulting@comcast.net p: 312.241.7800