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 1mvmRE-0008Tg-HK for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Dec 2021 20:24:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mvmRD-0002Fo-D7 for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Dec 2021 20:24:15 +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 1mvlzL-0005ky-HV for pgsql-bugs@lists.postgresql.org; Fri, 10 Dec 2021 19:55:27 +0000 Received: from smtp4-g21.free.fr ([212.27.42.4]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvlzI-0007WF-Cr for pgsql-bugs@lists.postgresql.org; Fri, 10 Dec 2021 19:55:26 +0000 Received: from zimbra62-e11.priv.proxad.net (unknown [172.20.243.212]) by smtp4-g21.free.fr (Postfix) with ESMTP id 448BA19F5A5; Fri, 10 Dec 2021 20:55:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1639166121; bh=TUVmtV7evpnUhsK/G5jM2IrAX6TDEZiPw8goslInBfc=; h=Date:From:To:Cc:In-Reply-To:Subject:From; b=lCxWQjBPI+OfNjRg5cOdWvsFb0r0bee2nre5XKH7HLEIR3lgnfXOJDRl3Hrygry9t XWW0diwppSdeP1JkVoR4vwo+1S9Wv3GcauXKT2vAGeh0zVKkpkwBN4rlJrgKM0jc3W BtP2EbGx6g/zbPhorhfZUxEcQfH1LxkjAzB5wxDFJo/UT2oFEYdNfkAmYlkTsKUaoM b2ie1GMRlAvVcyezZnuIj6QilcyezN9wSnMSV0SFA3RLCTdwPZ2vVZ3rJa48brxajV s0e71BhcK+YzQd/loI+jNlj3bnTtOx5cpGmRiIxDnyPtg+dnd9HRVuw4/gJxDvjcRI 20YmRZWGHcd9g== Date: Fri, 10 Dec 2021 20:55:21 +0100 (CET) From: Eric Meygret To: "David G. Johnston" Cc: pgsql-bugs@lists.postgresql.org Message-ID: <1269280643.359125664.1639166121205.JavaMail.root@zimbra62-e11.priv.proxad.net> In-Reply-To: Subject: Re: BUG #17333: pgdg postgresql-common pg_upgradecluster duplicate data_directory in configuration file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [2001:41d0:fe44:1e00:1d13:3195:b3b:90c9] X-Mailer: Zimbra 7.2.0-GA2598 (ZimbraWebClient - FF3.0 (Win)/7.2.0-GA2598) X-Authenticated-User: eric.meygret@free.fr List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk >> That script isn=E2=80=99t part of the core project so this list may not = be the best place to report complaints.=20 sorry I was thinking that you mange also pgdg repository, where I can repor= t that, I am afraid that to have same answer by the Debian team?=20 >> Doing testing on in a test environment first is another useful exercise.= =20 That was on a test environnement :)=20 >> If you are going to go do customizations the fact that the scripts that = are built without those customizations in mind fail to work properly isn=E2= =80=99t a bug. I=E2=80=99d suggest you simply use the pg_upgrade tool direc= tly if you don=E2=80=99t like (or adhere to) the assumptions built into the= distro-specific scripts.=20 I like this tools, but I don't think that it is a choice to not follow "you= r" assumptions(I mean ignore first value), especially if it could lead to t= he deletion of data, but maybe I wrong.=20 thanks for your answer. Eric