Re: error on connecting port 5432

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: error on connecting port 5432
Дата
Msg-id CAKFQuwbW64C+q=2FPv8Ey6nBsG51Dx3b2Qw62egLRPy1PQp4qA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: error on connecting port 5432  (Atul Kumar <akumar14871@gmail.com>)
Список pgsql-general
On Wednesday, December 2, 2020, Atul Kumar <akumar14871@gmail.com> wrote:
Thanks a lot Tom, I appended the -h /tmp and it worked.

I need just one more help from you.

Could you tell me that why & how that socket file existed in /tmp directory.

Because the server was configured that way:


See: unix_socket_directories

Thing is, the client code doesn’t read the postgresql.conf configuration file - it just knows its own compile-time default.  For some reason, your client in one mode was compiled using a different default than the server on the same machine. From which we infer you have two client installs on your machine, each compiled using different defaults.

David J.

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

Предыдущее
От: Andreas Schmitz
Дата:
Сообщение: Re: error on connecting port 5432
Следующее
От: Levente Birta
Дата:
Сообщение: pg_cron question