Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[1.6.x] Fixed #21296 -- Added docs for PostgreSQL and unix domains so…


Backport of 1e39982 from master
  • Loading branch information...
1 parent 0c850e2 commit 15a6667a7040739a74c9bc7c83ee9435f517b284 @xrmx xrmx committed with timgraham
Showing with 4 additions and 2 deletions.
  1. +4 −2 docs/ref/settings.txt
6 docs/ref/settings.txt
@@ -506,8 +506,10 @@ this value is assumed to be the host.
If you're using PostgreSQL, by default (empty :setting:`HOST`), the connection
to the database is done through UNIX domain sockets ('local' lines in
-``pg_hba.conf``). If you want to connect through TCP sockets, set
-:setting:`HOST` to 'localhost' or '' ('host' lines in ``pg_hba.conf``).
+``pg_hba.conf``). If your UNIX domain socket is not in the standard location,
+use the same value of ``unix_socket_directory`` from ``postgresql.conf``.
+If you want to connect through TCP sockets, set :setting:`HOST` to 'localhost'
+or '' ('host' lines in ``pg_hba.conf``).
On Windows, you should always define :setting:`HOST`, as UNIX domain sockets
are not available.

0 comments on commit 15a6667

Please sign in to comment.
Something went wrong with that request. Please try again.