pg_upgradecluster fails if port is not specified in postgresql.conf - Mailing list pgsql-pkg-debian

From Yuriy Chernyshov
Subject pg_upgradecluster fails if port is not specified in postgresql.conf
Date
Msg-id CAPHLbgMZdoMkWe6wAMQn2By-9d95T6QKPDBGF5x6nTkAcK4ExA@mail.gmail.com
Whole thread Raw
Responses Re: pg_upgradecluster fails if port is not specified inpostgresql.conf  (Christoph Berg <myon@debian.org>)
List pgsql-pkg-debian
It looks like postgres falls back to default port (5432) if port is not specified in postgresql.conf.
The probles is actual in postgresql-common=191.pgdg14.04+1


Unfortunately, pg_upgradecluster does not handle this situation. It fails with "Error: could not get cluster locales" and such message hardly helps to debug the problem.

Could you, please, take a look?

Best regards,
Yuriy.

pgsql-pkg-debian by date:

Previous
From: Christoph Berg
Date:
Subject: Re: Backporting XML docs
Next
From: Christoph Berg
Date:
Subject: Re: pg_upgradecluster fails if port is not specified inpostgresql.conf