Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vM43v-0007Um-0K for pgsql-general@arkaria.postgresql.org; Thu, 20 Nov 2025 12:46:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vM43t-001XWx-1v for pgsql-general@arkaria.postgresql.org; Thu, 20 Nov 2025 12:46:57 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vM43t-001XWp-0u for pgsql-general@lists.postgresql.org; Thu, 20 Nov 2025 12:46:57 +0000 Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vM43r-000WZa-0T for pgsql-general@lists.postgresql.org; Thu, 20 Nov 2025 12:46:56 +0000 Received: from phl-compute-11.internal (phl-compute-11.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id C897C7A00B3; Thu, 20 Nov 2025 07:46:54 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Thu, 20 Nov 2025 07:46:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm2; t=1763642814; x= 1763729214; bh=kiihF7WiSIUhlyzbkS+hMgHPkhryZRZs9WIsKMyHxDU=; b=T l4Jydc69sRC1SEfQZolOU6GbvHHI+Fy+cXAAVKAUnj/kAEB3Oj+mVK/S1mfLeAWa nJhxZaF+3elvyzepWuTsTifQXDqK9+gJVR4bygped7UdcFU5+Q0OlDGLC6X1xwSS PNtMGbEWeSw0Ks8Az8QN6z4GNtl0A2JH5yujdQsQSDT3zBFcqv086Nftvmtpodqq F7f3nAoWeti+ALivUwmuB1j91++1+pRoJhdqaPTdoWaAQWtQvaHyDYZs8etU1s7h 7DyFcrMs7z/P/cABlL5aZXNdzHNfpwOKGd7BatC8XXJxzvqdrDLTBsqtVxvklgUh ntvrkUxY7lRPIiPPTQ5Sg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1763642814; x=1763729214; bh=k iihF7WiSIUhlyzbkS+hMgHPkhryZRZs9WIsKMyHxDU=; b=eKN1YGr9U/yxVdQ+P SyJSNCIvTZlQjmzZq2Nh9XWpGan95arAagsnzCkqnMF2O1ZBL8r0Nas4JWLOW/dl 4S0CxEQs9bkcH5ddQZEtimSaNZ/mB8sPsLKAFhiDGk2supHF3Goi0de5cd+t4949 EXCi1WhsSG2LMsnphlJd7JGogIDfM/Gmy2zbxZdaAW5mAEN/yURCtV7i2aAe3RhH N3haliQjuYxIP2KURGmnJqxexj9hvNreWzja+n5/yeM8ntYVI6SF2Cp/vV7uyz87 3M6Qdv8xcIDyTgD3tHVDoxdzq7is6pzEWcjIfQzrhsfjqeSZpcTcUI4VPiv/YGDM BV9/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvvdejudduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfggtggugfgjsehtkeertd dttdejnecuhfhrohhmpemllhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvges khhurhhilhgvmhhurdguvgeqnecuggftrfgrthhtvghrnhepteeuvdehffekvefgueehve etveekgfegtddtueefueehuddutdfhfeffhfejfeffnecuffhomhgrihhnpegvnhhtvghr phhrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvgdpnhgspghrtghp thhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprhgvvhhirhhiihesgh hoohhglhgvmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlhes lhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 20 Nov 2025 07:46:54 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1763642812; bh=GpmbAOxrVEK1AziUdNjvknnrgORzMgmAydjNuywfsio=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=RVxt9lpEKr32OOWsm8Hez2KODzdLGq3dp5wJV4DVU+2XxSpeu6TOmDyjw/5rXG4oT hxAEvvds2EQh3nqvVUUQtG9vNwDHKtif3P2XsQArheCXn89JH8FCP7C28BLvaftKHK 7olAjmScjpo9alhSVYe2BayUWAFPGJOcREJNncxzbO56N99JcNq8d3HmPLgZ6UiNDy 9ItLB1AuJ6p7x7SxdTFBIL1OsQymA96DJRJxA7wRNm8Rx6qEHqqng3oFw46xRYfmWZ Gj8ftgQ9VB0dAKlwOFePUcyZceSa17tHyaJX6UZNVkZRqI2Ltunoz4zwBLgfR3wbMi k1x7FsWR3/1uQ== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 91D2176; Thu, 20 Nov 2025 13:46:52 +0100 (CET) Date: Thu, 20 Nov 2025 13:46:52 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Hu Bert Cc: pgsql-general@lists.postgresql.org Subject: Re: postgresql-17 on debian bookworm - directories missing Message-ID: <202511201242.4pht5cyc33ex@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Nov-20, Hu Bert wrote: > Hi there, > i have a debian bookworm with postgresql-16 installed, from postgresql > repository. I wanted to install postgresql-17 and then do a an inplace > upgrade via pg_upgrade. > > Install: apt install postgresql-17 postgresql-17-postgis-3 > postgresql-17-postgis-3-scripts postgresql-client-17 > > But after the installation there's no v17 cluster: I think this is expected. The Debian packages create a cluster when you install the server packages only if you don't already have a cluster. Here it's clearly that you do have one, so a new one isn't created. You could create one yourself with pg_createcluster. However, if what you want to do is to upgrade the 16 one, then I think you don't need to create a new one, but instead use pg_upgradecluster which will create one for you. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/