pg_upgradecluster fails if port is not specified in postgresql.conf

From: Yuriy Chernyshov <georgthegreat(at)gmail(dot)com>
To: pgsql-pkg-debian(at)postgresql(dot)org
Subject: pg_upgradecluster fails if port is not specified in postgresql.conf
Date: 2018-05-14 08:43:55
Message-ID: CAPHLbgMZdoMkWe6wAMQn2By-9d95T6QKPDBGF5x6nTkAcK4ExA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2018-05-15 08:29:11 Re: pg_upgradecluster fails if port is not specified in postgresql.conf
Previous Message Christoph Berg 2018-05-11 16:17:03 Re: Backporting XML docs