diff options
| author | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2013-10-21 16:53:25 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-21 13:10:51 -0400 |
| commit | 045d192222f531948313bde8d43746dde33b522d (patch) | |
| tree | 33708a0f9900d552d4a87284fab0c1f0253e2fba /docs | |
| parent | 8ffa99ccb6173e6dd53a83204933d99a9a6748a3 (diff) | |
[1.5.x] Fixed #21296 -- Added docs for PostgreSQL and unix domains sockets.
Backport of 1e39982b6e from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/settings.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 1db9b4029b..c085ea2505 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -469,8 +469,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 '127.0.0.1' ('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 '127.0.0.1' ('host' lines in ``pg_hba.conf``). On Windows, you should always define :setting:`HOST`, as UNIX domain sockets are not available. |
