Re: pg_upgradecluster fails if port is not specified inpostgresql.conf - Mailing list pgsql-pkg-debian

From Christoph Berg
Subject Re: pg_upgradecluster fails if port is not specified inpostgresql.conf
Date
Msg-id 20180515082911.GA25563@msg.df7cb.de
Whole thread Raw
In response to pg_upgradecluster fails if port is not specified in postgresql.conf  (Yuriy Chernyshov <georgthegreat@gmail.com>)
Responses Re: pg_upgradecluster fails if port is not specified in postgresql.conf
List pgsql-pkg-debian
Re: Yuriy Chernyshov 2018-05-14 <CAPHLbgMZdoMkWe6wAMQn2By-9d95T6QKPDBGF5x6nTkAcK4ExA@mail.gmail.com>
>  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.

Hi,

where did you specify the port if not in postgresql.conf?

Christoph


pgsql-pkg-debian by date:

Previous
From: Yuriy Chernyshov
Date:
Subject: pg_upgradecluster fails if port is not specified in postgresql.conf
Next
From: Yuriy Chernyshov
Date:
Subject: Re: pg_upgradecluster fails if port is not specified in postgresql.conf