Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pH9p3-0007SN-7y for pgsql-general@arkaria.postgresql.org; Sun, 15 Jan 2023 20:41:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pH9p2-0004Ed-4S for pgsql-general@arkaria.postgresql.org; Sun, 15 Jan 2023 20:41:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pH9p1-0004EU-Qn for pgsql-general@lists.postgresql.org; Sun, 15 Jan 2023 20:41:43 +0000 Received: from rs6162.luxsci.com ([162.142.76.255]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pH9oz-0007Zz-5a for pgsql-general@lists.postgresql.org; Sun, 15 Jan 2023 20:41:42 +0000 Received: from pfortin.com (h163.145.185.173.dynamic.ip.windstream.net [173.185.145.163]) (authenticated bits=0) by rs6162.luxsci.com (8.15.2/8.14.9) with ESMTPSA id 30FKfdjm899840 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sun, 15 Jan 2023 20:41:39 GMT Date: Sun, 15 Jan 2023 15:41:39 -0500 From: pf@pfortin.com To: pgsql-general@lists.postgresql.org Subject: Re: pg_upgrade 13.6 to 15.1? Message-ID: <20230115154139.5a60b4dd@pfortin.com> In-Reply-To: <9a8899f2-211f-ae2a-1071-c1567d7ae988@aklaver.com> References: <20230115142732.0ec38e2a.pfortin@pfortin.com> <9a8899f2-211f-ae2a-1071-c1567d7ae988@aklaver.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.36; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Lux-Comment: Message 30FKfdjm899840 sent by user #22429 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pfortin.com; h=date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=dkim; bh=o6+QyhlheBx6KHRIH3tLfLaSDz2M12goAPdeuOX41jI=; b=HwndyWaD7yO6mNTEkRVt+4vl4mW2spAb7M/m0u1goVSfJoIw1NfGsFmoQ6B0cFntPaHUr9jVtoZVTd5+oZyPp+070fUAyEgup5NiAhm+t/qIkp7TLsxyo5IsRYwwLm8TT4dviEC3Fy02E/Vm+xzQ8DLtz6bZE6INceB77khKhK4= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, 15 Jan 2023 12:23:10 -0800 Adrian Klaver wrote: >On 1/15/23 11:27, pf@pfortin.com wrote: >> Hi, >> >> I'm fairly new to postgres; but have databases with about 2TB of data. >> >> Trying to upgrade from 13.6 to 15.1, pg_upgrade complains with: >> [postgres@pf ~]$ /usr/bin/pg_upgrade -b /usr/local/pgsql/bin -B /usr/bin \ >> -d /mnt/db/var/lib/pgsql/data -D /mnt/work/var/lib/pgsql/data \ >> -s /tmp -U postgres > >> Nothing I read implies the need to upgrade to 14.x first... Right? > >In addition to Tom Lane's comments I would recommend reading this: > >https://www.postgresql.org/docs/current/pgupgrade.html > >multiple times. There is a lot going on there and it will take a couple >of reads at least to begin to understand it all. Yup... that's what I've been working from... See my reply to Tom re --link... Thanks! >> >> Thanks >> Pierre >> >> >> >