Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1asamm-00081i-Ip for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 19 Apr 2016 18:54:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1asamm-0006t1-5O for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 19 Apr 2016 18:54:08 +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.84_2) (envelope-from ) id 1asaml-0006rT-Da for pgsql-pkg-debian@postgresql.org; Tue, 19 Apr 2016 18:54:07 +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.84_2) (envelope-from ) id 1asamg-0007aM-J2 for pgsql-pkg-debian@postgresql.org; Tue, 19 Apr 2016 18:54:06 +0000 Received: from msg.df7cb.de (pD9EC6777.dip0.t-ipconnect.de [217.236.103.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3qqDgr43jZz3F3c for ; Tue, 19 Apr 2016 20:54:00 +0200 (CEST) Resent-From: Christoph Berg Resent-Date: Tue, 19 Apr 2016 20:54:00 +0200 Resent-Message-ID: <20160419185400.GF12650@msg.df7cb.de> Resent-To: PostgreSQL in Debian Date: Tue, 19 Apr 2016 20:53:39 +0200 From: Christoph Berg To: David Peall Subject: Re: Issue with clusters with '-' in the name Message-ID: <20160419185339.GD12650@msg.df7cb.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.9 (--) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org Re: David Peall 2016-04-19 > Hi > > pc_ctlcluseter doesn’t work with cluster names containing ‘-‘ the latest version of postgres from > deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main > > Steps to reproduce the error: > pg_createcluster 9.5 test-dash > pg_ctlcluster 9.5 test-dash start - doesn’t work Hi, that's a known issue with the systemd integration: $ head -4 /lib/systemd/system/postgresql\@.service # systemd service template for PostgreSQL clusters. The actual instances will # be called "postgresql@version-cluster", e.g. "postgresql@9.3-main". The # variable %i expands to "version-cluster", %I expands to "version/cluster". # (%I breaks for cluster names containing dashes.) Since postgresql-common 171 (18 Dec 2015) you should get a warning when creating clusters with dashes in the name. Could you verify which postgresql-common version you have there? Christoph -- Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-debian