Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jClwX-0006bS-TA for pgsql-general@arkaria.postgresql.org; Fri, 13 Mar 2020 15:09:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jClwW-0000in-Ld for pgsql-general@arkaria.postgresql.org; Fri, 13 Mar 2020 15:09:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jClwU-0000ig-JQ for pgsql-general@lists.postgresql.org; Fri, 13 Mar 2020 15:09:44 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jClwN-0001mI-0X for pgsql-general@postgresql.org; Fri, 13 Mar 2020 15:09:41 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 46465250; Fri, 13 Mar 2020 11:09:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 13 Mar 2020 11:09:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=v pkQCxbRWCO+Yr+n3SJFibbs3xqguISp8O9VGa2HerU=; b=iiMPdphqKY7PfvvpO n9oCIwSNq7diYavYLTyzdG7cJimWQznh3C0H6+G0goa1mf5zvKrZhH6ZjIHfsj5T Y5c29G+AEw7dTn4bAbthgFeGq7BWRx/ByAg1xSBgxhMr9XixrOIvSwptkm/uv5+0 0TdADR3ilky+lq+1WoaiaMv3XWf+satKGzV86ilyKVz9m0vVo3K4bjAK8sxJ7HPa cMUvyobjTE0z0W5zXxHcoapInnyBlIS9nvbdCK0I31hVePjADPBGnL0nwR3bBuNF lZfCYXaOorQczsiAwXGYKzjYqx6Vgmp8aeb1BtzH4b5Bemtw5FiffrLkN/8cL9od fC2MQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=vpkQCxbRWCO+Yr+n3SJFibbs3xqguISp8O9VGa2He rU=; b=A3tbrp1vqc3cXZ9S8Pt2FltfJJUu4TgLgk8Ekwuh8IxKWfSM7wmaQLqa7 DuRNHvQ51XIbUmhkirBrKd0v+TF12Q8sr4fOq8XpsAlk6AurrK4Mwcqj+9sbnzeQ v9ERF+tyk1+yvP/MZKxyMpV/pMz4+WF8EvpEU6mFmAIUT03/Vbox/ToQkSTjJEDj 1IWvv4BLaiWf8ORm98dB2VaCab7zXstxOkp2Alqk+lHqRrvC3XpflD8M++CRr5ix B1r1rye/gACNUYQ9owxpxkz2QDdGJ+rDsQJglWKHT6JmEgYAo0X9sHrzmGKNJ4Fr aoYzfKeSkkZuxJhpqqED54UkhlxJA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddvjedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefheenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucfkphepjedurddvuddvrdduvdelrdduleefnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklh grvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.10] (unknown [71.212.129.193]) by mail.messagingengine.com (Postfix) with ESMTPA id EB55E3280060; Fri, 13 Mar 2020 11:09:31 -0400 (EDT) Subject: Re: pg_upgrade 9.6 to 12 without 9.6 binaries To: "Zwettler Markus (OIZ)" , pgsql-general References: <6146ebd5ca12450abe0e1efe57bab8c2@zuerich.ch> From: Adrian Klaver Message-ID: Date: Fri, 13 Mar 2020 08:09:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <6146ebd5ca12450abe0e1efe57bab8c2@zuerich.ch> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/13/20 6:47 AM, Zwettler Markus (OIZ) wrote: > We are running Postgres 9.6 on server A. > > We want to upgrade it to Postgres 12 on server B. > > pg_upgrade requires the old (-b) and new (-B) binary set on the same server. > > We don't want to install both binary sets on the same server as we had > some library conflicts in the past. > > Is there still a way to use pg_upgrade without the old (-b) binary set > (I am aware of pg_dump/pg_restore)? No. As I understand it pg_upgrade needs to see the state of old instance to recreate that state on the new instance. > > Markus > -- Adrian Klaver adrian.klaver@aklaver.com