Search Postgresql Archives

Re: change the value of "unix_socket_directories" , must used "-h /xx/xx" to use the Unix domain socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Aug 16, 2014, at 8:49 AM, John R Pierce <pierce@xxxxxxxxxxxx> wrote:

> On 8/16/2014 8:41 AM, lin wrote:
>> I change the value of "unix_socket_directories" in postgresql.conf , then restart the database, but it cannot connect the database used like this
>> "psql -d postgres -p 5432" , it must given the parameter " -h /xx/xx" to use the Unix domain socket。
>> how to fix this issue ?
> 
> the client has no access to postgresql.conf, it has no idea you changed it. the default value is baked into libpq.so at compile time.

You might find the environment variable PGHOST useful.

Cheers,
  Steve



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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux