Обсуждение: pg_upgradecluster and cluster_name

Поиск
Список
Период
Сортировка

pg_upgradecluster and cluster_name

От
Sébastien Lardière
Дата:
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




Re: pg_upgradecluster and cluster_name

От
Christoph Berg
Дата:
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