Re: BUG #15429: psql requires '-h localhost' to run basic commands

From: Ryan Murphy <murphy6239(at)gmail(dot)com>
To: myon(at)debian(dot)org
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15429: psql requires '-h localhost' to run basic commands
Date: 2018-10-14 05:03:51
Message-ID: CAOjiwSPfmFqY2FRHS1zcom3+D4SSo_GeMqaZp8S4wQkp231v_A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Sorry about that, I'll resubmit this in postgresql-common. Thanks!

On Fri, Oct 12, 2018 at 2:02 PM Christoph Berg <myon(at)debian(dot)org> wrote:

> Re: PG Bug reporting form 2018-10-12 <
> 15429-288b7c42f9d8be13(at)postgresql(dot)org>
> > We've encountered an issue where psql requires "-h localhost" to run any
> > commands on PostgreSQL 10.5 machine.
> >
> > $ psql --version
> > Error: Invalid data directory for cluster 10 main
> > $ psql -h localhost --version
> > psql (PostgreSQL) 10.5 (Ubuntu 10.5-1.pgdg14.04+1)
> >
> > The issue is resolved by adding world-read access to postgresql.conf to
> > allow psql to read "data_directory", but this is something we've never
> had
> > to do with previous postgres versions.
>
> Hi,
>
> this is not a PostgreSQL problem, but in postgresql-common, which is
> specific to Debian and Ubuntu.
>
> We should probably demote that message to a warning.
>
> Christoph
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-10-14 15:20:14 BUG #15430: partition-wise join only works in combination with pruning on 1 partition
Previous Message Christoph Berg 2018-10-12 18:02:16 Re: BUG #15429: psql requires '-h localhost' to run basic commands