Re: [GENERAL] psql only works with -h (even localhost)

Поиск
Список
Период
Сортировка
От Melvin Davidson
Тема Re: [GENERAL] psql only works with -h (even localhost)
Дата
Msg-id CANu8FiwGp8aJXMTGs-2pysnu1R82=gY3fH8mv+1mLGCEJUrXNQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] psql only works with -h (even localhost)  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general

On Wed, Jan 25, 2017 at 11:07 AM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 01/25/2017 08:02 AM, ProPAAS DBA wrote:
Hi all;


we have a client server where 'psql -h localhost' is the only way psql
will connect when ssh'd onto the db server. Would like to be able to
just run psql but not sure what the issue/fix is. Anyone have any
insight hot to fix this?


What is the error you get if you use something other then -h localhost?

What is in pg_hba.conf?



Thanks in advance







--
Adrian Klaver
adrian.klaver@aklaver.com


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

What is O/S -h localhost points to?
What is the version of PostgreSQL?




--
Melvin Davidson
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.

В списке pgsql-general по дате отправления:

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: [GENERAL] psql only works with -h (even localhost)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] psql only works with -h (even localhost)