pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: David Peall <david@dnservices.co.za>
Subject: Re: Issue with clusters with '-' in the name
Date: Tue, 19 Apr 2016 20:53:39 +0200
Message-ID: <20160419185339.GD12650@msg.df7cb.de> (raw)
In-Reply-To: <E7F3EFD1-82A2-47BB-833D-EFA6BBD66969@dnservices.co.za>
References: <E7F3EFD1-82A2-47BB-833D-EFA6BBD66969@dnservices.co.za>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Re: David Peall 2016-04-19 <E7F3EFD1-82A2-47BB-833D-EFA6BBD66969@dnservices.co.za>
> 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



view thread (5+ messages)  latest in thread

Message-ID: <20160419185339.GD12650@msg.df7cb.de>
Permalink:  ../20160419185339.GD12650@msg.df7cb.de/
Also on:    postgresql.org/message-id/20160419185339.GD12650@msg.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: myon@debian.org, david@dnservices.co.za
  Subject: Re: Issue with clusters with '-' in the name
  In-Reply-To: <20160419185339.GD12650@msg.df7cb.de>
  References: <E7F3EFD1-82A2-47BB-833D-EFA6BBD66969@dnservices.co.za> <20160419185339.GD12650@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox