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.89) (envelope-from ) id 1ibsJA-0000Ck-Bs for pgsql-general@arkaria.postgresql.org; Mon, 02 Dec 2019 20:28:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ibsJ9-0006ma-0L for pgsql-general@arkaria.postgresql.org; Mon, 02 Dec 2019 20:28:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ibsJ7-0006mS-6r for pgsql-general@lists.postgresql.org; Mon, 02 Dec 2019 20:28:34 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ibsJ2-0004G2-Up for pgsql-general@lists.postgresql.org; Mon, 02 Dec 2019 20:28:32 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 18B6221FC6; Mon, 2 Dec 2019 15:28:24 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 02 Dec 2019 15:28:24 -0500 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=fm1; bh=b Pu1H5xwuY0AxrmMWhTDNxaTS5ta6njkPVtLHa6N2L8=; b=Qa6tRf0qmpfmenmv+ 7VCgHW92k+1Zj+rYyTYo3fOm0227Wc0cMkemBi3nzC5mV2w7FSEh3ENJZ6SZ+bhw iun3+cc6kD2c6+pYVgXtTw7TThf+ybegpFXeU5u8/j5sx9t8bc0CG/F8nhk7jciI uex1cDs88rF7WqjiduRFJyu7kbQhNt8rbe9917l45Gb4PZRp0xlhcnGOjQitW3dM guMsco82kfoRqaGpIEeACMoR4SudQifcMLUF3QbrDkyTI3VgLGUQkFrw5U3+FvaV zlf5dSsbl79cfLJOpoj4Q2XMrTEzVGEAmsJA63ehCAMXbHfo8CCAiH0FrHJdB2qG ThPTg== 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=fm1; bh=bPu1H5xwuY0AxrmMWhTDNxaTS5ta6njkPVtLHa6N2 L8=; b=u1Zx//LP2RwnH+qlJbHW3RNbyJI4JwKAlj8DhtaEgp4BLBpWm0qhbScn0 exvFM5VYXLcGKF3lA7i6nyRWZH3iKePqhYHuIcrqE0cdayzz6J+aXzMIOfSEcMvd nGBY8PyGFuRWa3kwyXp7MsinINMad998KFaBokspe9zdvqaf9pIcloEEmjRZZo4S GorSTRTby3Roooo2pqX/zS4UPMAXZiRAFY39TNuHOrYN1j1T5COFh14IKFG24Kks xDz2KeXJl/t/86InA+/T7R4IEtN8iKsMzMpvm8Mnyd2sQWSz5Z3dZdVWjHpsa3Ru wKXMoLwtYGN++711XMKnJxLKdPJPw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudejhedgudeflecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepshgtohhtthhlih hnuhigrdgtohhmpdhpohhsthhgrhgvshhqlhdrohhrghenucfkphepudejgedrvddurdei kedrvdegfeenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.2] (174-21-68-243.tukw.qwest.net [174.21.68.243]) by mail.messagingengine.com (Postfix) with ESMTPA id 47E95306017A; Mon, 2 Dec 2019 15:28:23 -0500 (EST) Subject: Re: Upgrading from V11 to V12 on Debian install To: stan , pgsql-general@lists.postgresql.org References: <20191202192840.GA22579@panix.com> From: Adrian Klaver Message-ID: <59ffa165-1513-9da5-4a20-a58ba7d6b9cd@aklaver.com> Date: Mon, 2 Dec 2019 12:28:22 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20191202192840.GA22579@panix.com> Content-Type: text/plain; charset=utf-8; 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 12/2/19 11:28 AM, stan wrote: > I have several machines that have version 11 instances on them. These are > all Debian or Ubuntu machines. All of them are pointed to the Postgres > repositories fro the Postgres binaries > > deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main > > dpkg -l shows: > > ii postgresql-11 11.6-1.pgdg100+1 > ii postgresql-12 12.1-1.pgdg100+1 > ii postgresql-client-11 11.6-1.pgdg100+1 > ii postgresql-client-12 12.1-1.pgdg100+1 > ii postgresql-client-common 210.pgdg100+1 > ii postgresql-common 210.pgdg100+1 > ii postgresql-contrib 12+210.pgdg100+1 > ii postgresql-server-dev-11 11.6-1.pgdg100+1 > > > Googling around, I found this link: > > https://scottlinux.com/2015/11/14/upgrade-postgresql-on-debian-jessie-with-pg_upgradecluster/ > > I plan on upgrading one of the test instances right away. Is the > information in this link the best way to do this in a Debian environment? I > did look at the pg_upgrade documentation, and it looks like I could really > make a mess if I misunderstand even one step. Yes as pointed out previously: https://www.postgresql.org/message-id/20191107161401.GA24371@hjp.at For more info: man pg_upgradecluster > > > > > "They that would give up essential liberty for temporary safety deserve > neither liberty nor safety." > -- Benjamin Franklin > > > -- Adrian Klaver adrian.klaver@aklaver.com