pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: murphy6239@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15429: psql requires '-h localhost' to run basic commands
Date: Fri, 12 Oct 2018 20:02:16 +0200
Message-ID: <20181012180215.GB25709@msg.df7cb.de> (raw)
In-Reply-To: <15429-288b7c42f9d8be13@postgresql.org>
References: <15429-288b7c42f9d8be13@postgresql.org>

Re: PG Bug reporting form 2018-10-12 <15429-288b7c42f9d8be13@postgresql.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




view thread (3+ messages)  latest in thread

Message-ID: <20181012180215.GB25709@msg.df7cb.de>
Permalink:  ../20181012180215.GB25709@msg.df7cb.de/
Also on:    postgresql.org/message-id/20181012180215.GB25709@msg.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: myon@debian.org, murphy6239@gmail.com
  Subject: Re: BUG #15429: psql requires '-h localhost' to run basic commands
  In-Reply-To: <20181012180215.GB25709@msg.df7cb.de>
  References: <15429-288b7c42f9d8be13@postgresql.org> <20181012180215.GB25709@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox