pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_upgradecluster and cluster_name
2+ messages / 2 participants
[nested] [flat]

* pg_upgradecluster and cluster_name
@ 2016-10-17 16:37 Sébastien Lardière <sebastien@lardiere.net>
  2016-10-17 16:56 ` Re: pg_upgradecluster and cluster_name Christoph Berg <cb@df7cb.de>
  0 siblings, 1 reply; 2+ messages in thread

From: Sébastien Lardière @ 2016-10-17 16:37 UTC (permalink / raw)
  To: pgsql-pkg-debian

Hi,

As the cluster_name is managed by packaging, i think that
pg_upgradecluster should change cluster_name's value to match the new
version.

Currently, a new 9.6 instance created by pg_upgradecluster from 9.5
displays '9.5/main' in cluster_name, which become false.

regards,

-- 
Sébastien




-- 
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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_upgradecluster and cluster_name
  2016-10-17 16:37 pg_upgradecluster and cluster_name Sébastien Lardière <sebastien@lardiere.net>
@ 2016-10-17 16:56 ` Christoph Berg <cb@df7cb.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Christoph Berg @ 2016-10-17 16:56 UTC (permalink / raw)
  To: Sébastien Lardière <sebastien@lardiere.net>; +Cc: pgsql-pkg-debian

Re: Sébastien Lardière 2016-10-17 <5804FE63.3010207@lardiere.net>
> Hi,
> 
> As the cluster_name is managed by packaging, i think that
> pg_upgradecluster should change cluster_name's value to match the new
> version.
> 
> Currently, a new 9.6 instance created by pg_upgradecluster from 9.5
> displays '9.5/main' in cluster_name, which become false.

Good point, will fix. (Along with pg_renamecluster which has the same
problem.)

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-10-17 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-10-17 16:37 pg_upgradecluster and cluster_name Sébastien Lardière <sebastien@lardiere.net>
2016-10-17 16:56 ` Christoph Berg <cb@df7cb.de>

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