This is not an issue with the postgresql packages shipped with Ubuntu:
trusty:
ubuntu@trusty-pgsql:~$ psql --version
psql (PostgreSQL) 9.3.24
ubuntu@trusty-pgsql:~$ l /etc/postgresql/9.3/main/postgresql.conf
-rw-r--r-- 1 postgres postgres 20K Oct 18 17:59
/etc/postgresql/9.3/main/postgresql.conf
ubuntu@trusty-pgsql:~$
xenial:
ubuntu@xenial-pgsql:~$ psql --version
psql (PostgreSQL) 9.5.14
ubuntu@xenial-pgsql:~$ l /etc/postgresql/9.5/main/postgresql.conf
-rw-r--r-- 1 postgres postgres 21K Oct 18 18:01
/etc/postgresql/9.5/main/postgresql.conf
bionic:
ubuntu@bionic-pgsql:~$ psql --version
psql (PostgreSQL) 10.5 (Ubuntu 10.5-0ubuntu0.18.04)
ubuntu@bionic-pgsql:~$ l /etc/postgresql/10/main/postgresql.conf
-rw-r--r-- 1 postgres postgres 23K Oct 18 18:01
/etc/postgresql/10/main/postgresql.conf
I suggest you take this up to the pgdg apt repository maintainers.
Since I don't see evidence of a defect in Ubuntu packaging, I'll mark
this bug as invalid. If you think that's incorrect, please reopen it
with a comment stating the reasoning.
Thanks!
** Changed in: postgresql-common (Ubuntu)
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to postgresql-common in Ubuntu.
https://bugs.launchpad.net/bugs/1797933
Title:
psql requires '-h localhost' to run basic commands
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1797933/+subscriptions
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs