Re: Pierre-Louis Bonicoli
> It looks like this file is created by the pg_upgradecluster command. I
> didn't create/edit it directly.

After a successful upgrade, the old cluster is marked for "manual"
start.

> The file mentions that the old cluster has been preserved and is not started
> automatically but this cluster isn't the old one.
> 
> After the bullseye upgrade, I followed the instructions mentioned within the
> "Default clusters and upgrading" section of
> /usr/share/doc/postgresql-common/README.Debian.gz:
> 
> # pg_dropcluster 13 main --stop
> # pg_upgradecluster 11 main
> 
> Then I installed the postgresql-13-rum package which I guess created a new
> cluster:
> 
> # apt install postgresql-13-rum
> # pg_upgradecluster 11 main
> # pg_dropcluster 13 main --stop
> # pg_upgradecluster 11 main
> 
> The modification time of this file match the time when the commands above
> have been executed.
> Does that explain the content of /etc/postgresql/13/main/start.conf?

It looks like you upgraded the 11/main cluster twice. After the first
upgrade, 11/main is marked "manual" in start.conf, and that value is
then copied to the 13/main cluster during the second upgrade.

Christoph

Reply via email to