From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: murphy6239@gmail.com
Subject: BUG #15429: psql requires '-h localhost' to run basic commands
Date: Fri, 12 Oct 2018 17:58:16 +0000
Message-ID: <15429-288b7c42f9d8be13@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15429
Logged by: Ryan Murphy
Email address: murphy6239@gmail.com
PostgreSQL version: 10.5
Operating system: Ubuntu 14.04.5 LTS
Description:
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.
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: noreply@postgresql.org, murphy6239@gmail.com
Subject: Re: BUG #15429: psql requires '-h localhost' to run basic commands
In-Reply-To: <15429-288b7c42f9d8be13@postgresql.org>
References: <15429-288b7c42f9d8be13@postgresql.org>
* 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