Ah yes, we're using the postgresql cookbook for Chef which uses the PGDG
apt repository.

On Wed, Oct 17, 2018 at 4:21 PM Andreas Hasenack <andr...@canonical.com>
wrote:

> Where did you get this postgresql package from? 10.5-1.pgdg14.04+1
> doesn't look like it's something released by ubuntu. Is this a trusty
> machine?
>
> ** Changed in: postgresql-common (Ubuntu)
>        Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1797933
>
> Title:
>   psql requires '-h localhost' to run basic commands
>
> Status in postgresql-common package in Ubuntu:
>   Incomplete
>
> Bug 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.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1797933/+subscriptions
>

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to postgresql-common in Ubuntu.
https://bugs.launchpad.net/bugs/1797933

Title:
  psql requires '-h localhost' to run basic commands

Status in postgresql-common package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1797933/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to