Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fIVKo-0006iy-Fr for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 15 May 2018 08:29:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fIVKk-0007pt-Us for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 15 May 2018 08:29:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fIVKk-0007pj-MT for pgsql-pkg-debian@lists.postgresql.org; Tue, 15 May 2018 08:29:22 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fIVKd-0004H9-3m for pgsql-pkg-debian@postgresql.org; Tue, 15 May 2018 08:29:21 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 40lW1z5DQ1z3F28; Tue, 15 May 2018 10:29:11 +0200 (CEST) Date: Tue, 15 May 2018 10:29:11 +0200 From: Christoph Berg To: Yuriy Chernyshov Cc: pgsql-pkg-debian@postgresql.org Subject: Re: pg_upgradecluster fails if port is not specified in postgresql.conf Message-ID: <20180515082911.GA25563@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Yuriy Chernyshov , pgsql-pkg-debian@postgresql.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Yuriy Chernyshov 2018-05-14 > It looks like postgres falls back to default port (5432) if port is not > specified in postgresql.conf. > The probles is actual in postgresql-common=191.pgdg14.04+1 > > Unfortunately, pg_upgradecluster does not handle this situation. It fails > with "Error: could not get cluster locales" and such message hardly helps > to debug the problem. Hi, where did you specify the port if not in postgresql.conf? Christoph